leb128 class

Functions for working with the leb128 variable-length number serialization format.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

decodeSigned(List<int> bytes) BigInt
De-Serializes a leb128 signed format into a BigInt
decodeUnsigned(List<int> bytes) BigInt
De-Serializes a leb128 unsigned bytes into a BigInt.
encodeSigned(dynamic d) Uint8List
Can serialize an int or BigInt as a leb128 signed format.
encodeUnsigned(dynamic d) Uint8List
Can serialize an int or a BigInt as a leb128 unsigned format.