hyperium / tonic

A native gRPC client & server implementation with async/await support.
https://docs.rs/tonic
MIT License
9.46k stars 971 forks source link

chore(codec): Use BytesMut put_u8 method to write single byte #1774

Closed tottoto closed 2 weeks ago

tottoto commented 2 weeks ago

The put_u8 method can be used for this purpose.