Module error

Source
Expand description

Errors buffer I/O

Structs§

InsufficientSpaceAt
An error indicating insufficient space at a specific offset in a buffer.
OutOfBounds
An error that occurs when an offset is beyond the buffer’s boundaries.
TryAdvanceError
An error that occurs when trying to advance the buffer cursor beyond available data.
TryPeekError
An error that occurs when trying to peek at data beyond the buffer’s available bytes.
TryReadError
An error that occurs when trying to read data from a buffer with insufficient bytes.
TrySegmentError
An error that occurs when trying to create a segment with an invalid range.
TryWriteError
An error that occurs when trying to write data to a buffer with insufficient space.

Enums§

ReadVarintErrorvaring
Decoding varint error.
TryWriteAtError
An error that occurs when trying to write at a specific offset in the buffer.
WriteVarintAtErrorvaring
An error that occurs when trying to write type in LEB128 format at a specific offset in the buffer.
WriteVarintErrorvaring
Encode varint error