Attributes
Members list
Type members
Classlikes
CBOR decoder for Word64.
CBOR decoder for Word64.
Handles both regular CBOR integers and big integers, ensuring proper unsigned interpretation of the decoded value.
Attributes
- Supertypes
- Self type
-
given_Decoder_Word64.type
CBOR encoder for Word64.
CBOR encoder for Word64.
Encodes small values (≤ Long.MAX_VALUE) as CBOR integers, and large values as CBOR big integers for proper unsigned semantics.
Attributes
- Supertypes
- Self type
-
given_Encoder_Word64.type
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Creates a Word64 from a BigInteger.
Creates a Word64 from a BigInteger.
Value parameters
- bi
-
the BigInteger value
Attributes
- Returns
-
a Word64 representing the value
- Throws
-
IllegalArgumentException
if the value is negative or exceeds 64 bits
Creates a Word64 from an unsigned integer, promoting it to 64 bits.
Creates a Word64 from an unsigned integer, promoting it to 64 bits.
Value parameters
- value
-
the unsigned 32-bit integer
Attributes
- Returns
-
a Word64 representing the value
Creates a Word64 from an unsigned string representation.
Creates a Word64 from an unsigned string representation.
Value parameters
- s
-
string representation of an unsigned 64-bit integer
Attributes
- Returns
-
a Word64 representing the parsed value
- Throws
-
NumberFormatException
if the string is not a valid unsigned long
Concrete fields
Word64 representing the maximum 64-bit unsigned value (2^64 - 1)
Word64 representing the maximum 64-bit unsigned value (2^64 - 1)
Attributes
Givens
Givens
CBOR decoder for Word64.
CBOR decoder for Word64.
Handles both regular CBOR integers and big integers, ensuring proper unsigned interpretation of the decoded value.
Attributes
CBOR encoder for Word64.
CBOR encoder for Word64.
Encodes small values (≤ Long.MAX_VALUE) as CBOR integers, and large values as CBOR big integers for proper unsigned semantics.