Crate safer_bytes

Source
Expand description

A safe, non-panicking wrapper around bytes::Buf

Modules§

error
Errors
unchecked
Unchecked buffer reading methods

Structs§

Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
BytesMut
A unique reference to a contiguous slice of memory.

Enums§

Error
Errors that can occur when deserialising objects from a buffer

Traits§

BufMut
A trait for values that provide sequential write access to bytes.
FromBuf
Objects which implement FromBuf are capable of constructing themselves by reading bytes from a Buf
SafeBuf
Extension trait for bytes::Buf

Type Aliases§

Result
Type alias for the return type of fallible functions in this crate