fromSigned function

BigInt fromSigned(
  1. Uint8List signedInt
)

Interprets a Uint8List as a signed integer and returns a BigInt. Assumes 256-bit numbers.

Implementation

BigInt fromSigned(Uint8List signedInt) {
  return decodeBigInt(signedInt).toSigned(256);
}