struct BigInt
- BigInt
- Int
- Number
- Value
- Object
Overview
monkey patch BigInt to introduce a new class method onto BigInt
Included Modules
- Comparable(Float)
- Comparable(BigInt)
- Comparable(UInt128 | UInt16 | UInt32 | UInt64 | UInt8)
- Comparable(Int128 | Int16 | Int32 | Int64 | Int8)
Defined in:
extlib.crConstructors
-
.from_bytes(bytes : Bytes | Array(UInt8)) : BigInt
converts a slice of bytes in which bytes[0] is the low-order byte of the BigInt and bytes[15] is the high order byte of the BigInt back into the corresponding BigInt This method assumes
bytes
is little endian
Constructor Detail
converts a slice of bytes in which bytes[0] is the low-order byte of the BigInt and bytes[15] is the high order byte
of the BigInt back into the corresponding BigInt
This method assumes bytes
is little endian