0x0004
0x0004 is a hexadecimal literal used in computing to denote the decimal value four. The prefix 0x indicates hexadecimal notation, and the trailing zeros are often a matter of width or alignment in data representations, but the underlying value remains four.
In binary and memory, 0x0004 corresponds to the bit pattern 0000 0000 0000 0100 for a 16-bit
As a bitmask, 0x0004 represents the third least significant bit (bit 2, counting from zero). It can
In character encoding terms, 0x04 is the ASCII/Unicode control code End of Transmission (EOT). In Unicode, this
Applications vary by system and protocol, but 0x0004 commonly appears as a small integer value, a bitmask,
See also: hexadecimal notation, bitmask, endianness, End of Transmission (EOT), ASCII and Unicode control characters.