udp protocol: rename "write" and "from_bytes" methods

This commit is contained in:
Joakim Frostegård 2024-01-29 19:38:12 +01:00
parent f30ab82371
commit 1c59972834
9 changed files with 27 additions and 27 deletions

View file

@ -290,7 +290,7 @@ mod tests {
let mut buf = Vec::new();
response.write(&mut buf).unwrap();
response.write_bytes(&mut buf).unwrap();
println!("Buffer len: {}", buf.len());