UtilsBytes class Null safety

Utility methods to work with raw bytes data.

Constructors

UtilsBytes()

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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

decodeBigInt(List<int> bytes) → BigInt
Decode a BigInt from bytes in big-endian encoding. Twos compliment. From pointycastle/src/utils
encodeBigInt(BigInt? number) → Uint8List
Encode a BigInt into bytes using big-endian encoding. It encodes the integer to a minimal twos-compliment integer as defined by ASN.1 From pointycastle/src/utils
memEquals(Uint8List bytes1, Uint8List bytes2) → bool
Compares two Uint8Lists by comparing 8 bytes at a time.