use super::Decoder;
use crate::capture::Direction;
pub struct Pl2303;
impl Decoder for Pl2303 {
fn name(&self) -> &'static str {
"pl2303"
}
fn decode(&mut self, _dir: Direction, payload: &[u8], out: &mut Vec<u8>) {
out.extend_from_slice(payload);
}
}