bigNumberMarshalBinary function
Implementation
Uint8List bigNumberMarshalBinary(int num, [int? field]) {
BigInt bn = BigInt.from(num);
List<int> data = bytesMarshalBinary(bigIntToUint8List(bn));
return withFieldNumber(data.asUint8List(), field);
}