Binary permissions bitmask
Inspect a small bitmask value from a flag field.
- Input: 13
- Source base: decimal
Binary: 1101
The set bits are 8, 4, and 1, which often map to enabled flags.
Convert numbers between binary, octal, decimal, and hexadecimal bases
No conversion records
Decimal value = Σ(digit × base^position)
Example: 1011₂ = 1×2^3 + 0×2^2 + 1×2^1 + 1×2^0 = 11₁₀
Decimal to target base = repeated division by target base, read remainders in reverseInspect a small bitmask value from a flag field.
Binary: 1101
The set bits are 8, 4, and 1, which often map to enabled flags.
Convert a decimal byte value to hexadecimal.
Hexadecimal: FF
One byte maps cleanly to two hexadecimal digits.
Understand why 192 appears as C0 in IPv4 hex notation.
Binary: 11000000, hexadecimal: C0
Binary and hex views are often easier for subnet masks and byte-level debugging.