HexString Module
Provides helper functions to construct hexadecimal strings from integers. Each string is prefixed with "0x", lowercase, and not zero-padded. Signed values are formatted as their two's complement bit pattern.
Functions and values
| Function or value |
Description
|
Full Usage:
HexString.ofInt16 v
Parameters:
int16
Returns: string
Modifiers: inline |
Converts an int16 value to a hex string (e.g.,
|
Full Usage:
HexString.ofInt32 v
Parameters:
int
Returns: string
Modifiers: inline |
Converts an int32 value to a hex string (e.g.,
|
Full Usage:
HexString.ofInt64 v
Parameters:
int64
Returns: string
Modifiers: inline |
Converts an int64 value to a hex string (e.g.,
|
Full Usage:
HexString.ofUInt16 v
Parameters:
uint16
Returns: string
Modifiers: inline |
Converts a uint16 value to a hex string.
|
Full Usage:
HexString.ofUInt32 v
Parameters:
uint32
Returns: string
Modifiers: inline |
Converts a uint32 value to a hex string.
|
Full Usage:
HexString.ofUInt64 v
Parameters:
uint64
Returns: string
Modifiers: inline |
Converts a uint64 value to a hex string.
|
B2R2