menu
solana_buffer package
documentation
extensions.dart
BufferSerializable extension
BufferSerializable extension
dark_mode
light_mode
BufferSerializable
extension
Big Int Extension
on
BigInt
Properties
byteLength
→
int
The minimum number of bytes required to store this big integer.
no setter
Methods
asSigned
(
)
→
BigInt
Returns the value as a signed big integer.
toUint64Buffer
(
)
→
Uint8List
Converts this
BigInt
into an 8-byte
Uint8List
.
toUint8List
(
[
int
?
length
])
→
Uint8List
Converts this
BigInt
into a
Uint8List
of size
length
.
Static Methods
from
(
Object
value
)
→
BigInt
Creates a
BigInt
from an existing
BigInt
or
int
value.
fromUint8List
(
Iterable
<
int
>
bytes
, [
Endian
endian
=
Endian.little
])
→
BigInt
Creates a
BigInt
from an array of
bytes
.
solana_buffer package
documentation
extensions
BufferSerializable extension
extensions library