BitConstants class final

Bit manipulation and masking constants for binary operations.

This file contains constants used for low-level bit manipulation, byte masking, and binary data processing operations throughout the SDK. These constants are primarily used in XDR encoding/decoding and cryptographic operations where precise bit-level control is required.

Note: This class cannot be instantiated. All constants are static and should be accessed directly via the class name.

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

Constants

ASCII_CR → const int
ASCII Carriage Return character (CR, '\r').
ASCII_LF → const int
ASCII Line Feed character (LF, '\n').
BITS_PER_BYTE → const int
Number of bits in a byte.
BYTE_MASK → const int
Byte mask for extracting lower 8 bits.
BYTES_PER_INT64 → const int
Number of bytes in a 64-bit integer.
BYTES_PER_INT128 → const int
Number of bytes in a 128-bit integer.
BYTES_PER_INT256 → const int
Number of bytes in a 256-bit integer.
CRC16_INITIAL → const int
CRC16 initial value.
CRC16_MASK → const int
CRC16 mask for 16-bit values.
SIGN_BIT_MASK → const int
Sign bit mask for byte operations.
UINT64_MASK → const int
64-bit unsigned integer mask.
ZERO_FILL → const int
Zero byte fill value.