[][src]Module bigbit::linkedbytes

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.

Structs

InvalidLBSequence

Marker error type representing that the decoder has encountered an invalid Linked Bytes sequence, created by the TryFrom implementation of LBNum.

LBCharsIter

An iterator over the codepoints in an LBString.

LBNum

A number in the Linked Bytes format, capable of storing arbitrarily large non-negative integers.

LBNumRef

A Linked Bytes number behind a reference.

LBSequence

An owned unchecked Linked Bytes sequence, used for storing either strings or numbers.

LBString

A Unicode string stored using the Linked Bytes format.

LinkedByte

An element in a series of Linked Bytes.

Type Definitions

DecodeResult

The Result specialization for the methods converting iterators/arrays of bytes into instances of LBNum.