bytes library Null safety

Helper functions handle data in Uint8List.

Functions

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.