Uint64 extension type

A robust, heap-allocated 64-bit unsigned integer wrapper utilizing dart:typed_data.

Unlike the zero-cost variant, Uint64 is strictly backed by an Uint64List(1). This inherently bounds the variable within standard memory specifications and rigorously guarantees that mathematical operators intuitively overflow using C++ style constraints, exactly mimicking real hardware boundaries, providing complete safety!

on

Constructors

Uint64(Uint64List _data)
Uint64.from(int value)
Dynamically instantiates a Uint64 value mapped sequentially into memory.

Properties

value int
Extracts the underlying raw Dart int strictly clamped.
no setter

Methods

addChecked(Uint64 other) Uint64
subChecked(Uint64 other) Uint64

Operators

operator %(Uint64 other) Uint64
Modulo remainder constraint matching natively bounded data models.
operator &(Uint64 other) Uint64
Bitwise AND logically coupled to bit patterns.
operator *(Uint64 other) Uint64
Multiplication mathematically clipped naturally to standard hardware constraints.
operator +(Uint64 other) Uint64
Standard addition. Natively handles and wraps exact numerical overflows gracefully.
operator -(Uint64 other) Uint64
Standard subtraction. Computes precise arithmetic underflows independently.
operator <(Uint64 other) bool
Determines structural bounds dynamically using unsigned comparison mechanisms for 64-bit limits.
operator <<(int shiftAmount) Uint64
Left-shifts the integer's bits gracefully overflowing when passing the bit barrier.
operator <=(Uint64 other) bool
operator >(Uint64 other) bool
operator >=(Uint64 other) bool
operator >>(int shiftAmount) Uint64
Right-shifts the numerical data maintaining standard sign retention.
operator >>>(int shiftAmount) Uint64
Right-shift explicitly padding zeros unconditionally.
operator ^(Uint64 other) Uint64
Bitwise XOR operator.
operator |(Uint64 other) Uint64
Bitwise OR operator.
operator ~() Uint64
Bitwise NOT standardly shifting limits.
operator ~/(Uint64 other) Uint64
Truncating division.

Static Properties

max Uint64
Returns the statically-bounded maximum value of a 64-bit unsigned integer (-1).
final
min Uint64
Returns the statically-bounded minimum value of a 64-bit unsigned integer (0).
final