rust-pcap / pcap

Rust language pcap library
Apache License 2.0
608 stars 138 forks source link

utf 8 error #364

Open suprohub opened 1 month ago

suprohub commented 1 month ago

when i trying to send [0] buffer i get this strange error thread 'main' panicked at src/main.rs:48:61: called Result::unwrap() on an Err value: MalformedError(Utf8Error { valid_up_to: 37, error_len: Some(1) }) there 37 bytes?

Wojtek242 commented 1 month ago

Can you provide a full example of your code to reproduce this error?