i64 class

Utility static functions for I64 use i64.fromInt or i64.fromBigInt to create use i64.toInt or i64.toBigInt to convert use i64.getInt64, i64.getUint64, i64.setInt64 and i64.setUint64 to read bytes data

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromBigInt(BigInt value) I64
Create I64 from BigInt
fromInt(int value) I64
Create I64 from int
getInt64(ByteData bytes, int offset, Endian endian) I64
Read I64 from bytes (ByteData) in offset
getUint64(ByteData bytes, int offset, Endian endian) I64
Read unsigned I64 from bytes (ByteData) in offset
setInt64(ByteData bytes, int offset, I64 value, Endian endian) → void
Write value (I64) in bytes (ByteData) in offset
setUint64(ByteData bytes, int offset, I64 value, Endian endian) → void
Write unsigned value (I64) in bytes (ByteData) in offset
toBigInt(I64 value) BigInt
Convert I64 to BigInt
toInt(I64 value) int
Convert I64 to int