mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 17:55:36 +00:00
http protocol: rename methods for writing to and parsing from bytes
This commit is contained in:
parent
3c906f48ee
commit
38de05a6c4
7 changed files with 30 additions and 30 deletions
|
|
@ -33,7 +33,7 @@ pub fn bench(c: &mut Criterion) {
|
|||
b.iter(|| {
|
||||
buffer.set_position(0);
|
||||
|
||||
Response::write(black_box(&response), black_box(&mut buffer)).unwrap();
|
||||
Response::write_bytes(black_box(&response), black_box(&mut buffer)).unwrap();
|
||||
})
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue