serializable library

Classes

QueueBuffer
A Uint8List deque for consuming binary protocol.
Serializable
SerializableBuffer
Base class for advancing offset view of Uint8List data.
SerializableInput
Consumes SerializableBuffer to deserialized input.
SerializableOutput
Fills SerializableBuffer with serialized output.

Functions

appendUint8List(Uint8List x, Uint8List y) Uint8List
Returns concatenation of x and y.
equalUint8List(Uint8List x, Uint8List y) bool
Returns true if x and y are equivalent.
nextMultipleOfN(int input, int n) int
Rounds input up to the nearest nth.
searchUint8List(Uint8List haystack, Uint8List needle) int
Returns the position of the first match of needle in haystack or -1.
viewUint8List(Uint8List x, [int offset = 0, int length]) Uint8List
Returns view of x, accounting for when x is another view.