LayoutSerializationUtils class

Constructors

LayoutSerializationUtils()

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

decodeScale(List<int> bytes, {int offset = 0}) LayoutDecodeResult<BigInt>
decodeVarint(List<int> bytes, {int offset = 0}) LayoutDecodeResult<BigInt>
encodeLength(String length) List<int>
encodeVarint(int i) List<int>
encodeVarintBigInt(BigInt value) List<int>
fromBytes({required List<int> bytes, required int offset, required int end, Endian byteOrder = Endian.big, bool sign = false}) BigInt
getDataVarintOffset(int bytes, {bool sign = false}) int
getScaleRequiredLength(int bytes, {bool sign = false}) int
getVarintLength(int byte, {bool sign = false}) int