toBytes method

List<int> toBytes()

Converts the signature to raw bytes with a schnorrkel marker.

Implementation

List<int> toBytes() {
  final inBytes = [..._r, ..._s];
  inBytes[63] |= 128;
  return inBytes;
}