pub fn decode(data: &[u8]) -> Result<BigInt>
Decode a BigInt from canonical binary format.
Validates that the encoding is canonical: