Expand description
The Linked Bytes format, capable of storing arbitrarily large unsigned integers, also used to efficently store Unicode strings.
If you only want non-negative integers, you should stick to this format. (Signed LB integers are also planned.) Otherwise, use either Head Byte or Extended Head Byte.
Re-exports§
pub use lbstring::LBString;
Modules§
- lbstring
- A Unicode string format implemented using Linked Bytes.
Structs§
- InvalidLB
Sequence - Marker error type representing that the decoder has encountered an invalid Linked Bytes sequence, created by the
TryFromimplementation ofLBNum. - LBNum
- A number in the Linked Bytes format, capable of storing arbitrarily large non-negative integers.
- LBNum
Ref - A borrowed Linked Bytes number, providing access to the data as a number while not owning it.
- LBSequence
- An owned unchecked Linked Bytes sequence, used for storing either strings or numbers.
- Linked
Byte - An element in a series of Linked Bytes.
Type Aliases§
- Decode
Result - The
Resultspecialization for the methods converting iterators/arrays of bytes into instances ofLBNum.