Representation is context
A hexadecimal or binary string does not automatically tell you whether a value is signed, how wide it is, whether bytes are little endian, or whether the bits represent an integer or floating-point value.
Convert base-2 integers to compact base-16 output without floating-point precision loss.
Normalize a binary bit string, optionally left-pad it to a fixed width, and expose hexadecimal, unsigned decimal and nibble-level grouping evidence.
| Nibble | Bits | Hex digit | Bit positions |
|---|
A hexadecimal or binary string does not automatically tell you whether a value is signed, how wide it is, whether bytes are little endian, or whether the bits represent an integer or floating-point value.