pubdev/dartssh/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
xandy. -
equalUint8List(
Uint8List x, Uint8List y) → bool -
Returns true if
xandyare equivalent. -
nextMultipleOfN(
int input, int n) → int -
Rounds
inputup to the nearestnth. -
searchUint8List(
Uint8List haystack, Uint8List needle) → int -
Returns the position of the first match of
needleinhaystackor -1. -
viewUint8List(
Uint8List x, [int offset = 0, int length]) → Uint8List -
Returns view of
x, accounting for whenxis another view.