espflash 4.4.0

A command-line tool for interacting with Espressif devices
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use std::io::Write;

use crate::cli::monitor::parser::InputParser;

/// Serial parser.
#[derive(Debug)]
pub struct Serial;

impl InputParser for Serial {
    fn feed(&mut self, bytes: &[u8], out: &mut dyn Write) {
        out.write_all(bytes).unwrap();
    }
}