buffer property

  1. @override
Uint8List get buffer
override

Implementation

@override
Uint8List get buffer {
  if (value == BigInt.zero) {
    return Uint8List.fromList([0x80]);
  }
  return this.value.toBytesUnsigned;
}