Signature.fromBytes constructor
- Uint8List bytes
Implementation
factory Signature.fromBytes(Uint8List bytes) {
final r = bytes.sublist(0, 32).toBigInt(littleEndian: false);
final s = bytes.sublist(32, 64).toBigInt(littleEndian: false);
final v = bytes[64];
return Signature(r, s, v);
}