Converts a byte to its decimal representation. Applies 0xFF mask for safety.
byteToDec(255) → "255" Copy
byteToDec(255) → "255"
byteToDec(256) → "0" (mask applied) Copy
byteToDec(256) → "0" (mask applied)
Converts a byte to its decimal representation. Applies 0xFF mask for safety.