Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
unsafeConvertByte :: Word# -> (# Word#, Word# #) #
Convert a byte value in Word# to two Word#s containing the hexadecimal representation of the Word#
The output words# are guaranteed to be included in the 0 to 2^7-1 range
Note that calling convertByte with a value greater than 256 will cause segfault or other horrible effect.
escapeByte :: Word8 -> Base16Escape #
data Base16Escape #