dart_varuint_bitcoin library Null safety

This package uses it to encode/decode the number as bitcoin variable length integer.

Functions

decode(Uint8List buffer, [int offset = 0]) → _DecodeOutputModel
Decode varuint
encode(int number, [Uint8List? buffer, int offset = 0]) → _EncodeOutputModel
Encode varuint
encodingLength(int number) int
Get encoding length of varuint