binary_util/pool.rs
1/// Byte pools a specialized structure that allows you to reuse byte slices
2/// instead of allocating new ones.
3///
4/// When an byteslice is returned to the pool, it is immediately reused.
5/// Do not use this if you are using a `BinaryStream` in multiple threads.
6/// This will cause latency issues.
7pub struct BytePool {}