mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-02 02:35:31 +00:00
udp protocol: rename "write" and "from_bytes" methods
This commit is contained in:
parent
f30ab82371
commit
1c59972834
9 changed files with 27 additions and 27 deletions
|
|
@ -77,7 +77,7 @@ fn no_response(
|
|||
let mut buffer = Cursor::new(&mut buffer[..]);
|
||||
|
||||
request
|
||||
.write(&mut buffer)
|
||||
.write_bytes(&mut buffer)
|
||||
.with_context(|| "write request")?;
|
||||
|
||||
let bytes_written = buffer.position() as usize;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue