toBytes method

Uint8List toBytes()

Implementation

Uint8List toBytes() {
  final buffer = Uint8List(64);
  buffer.setAll(0, padLeftUint8List(encodeBigIntAsUnsigned(r)));
  buffer.setAll(32, padLeftUint8List(encodeBigIntAsUnsigned(s)));
  return buffer;
}