|
Data.Bits.Utils | Portability | portable to platforms with rawSystem | Stability | provisional | Maintainer | John Goerzen <jgoerzen@complete.org> |
|
|
|
Description |
Bit-related utilities
Written by John Goerzen, jgoerzen@complete.org
|
|
Synopsis |
|
|
|
Documentation |
|
|
Returns a list representing the bytes that comprise a data type.
Example:
getBytes (0x12345678::Int) -> [0x12, 0x34, 0x56, 0x78]
|
|
|
The opposite of getBytes, this function builds a number based on
its component bytes.
Results are undefined if any components of the input list are > 0xff!
|
|
|
Converts a Char to a Word8.
|
|
|
Converts a String to a [Word8].
|
|
|
Converts a Word8 to a Char.
|
|
|
Converts a [Word8] to a String.
|
|
Produced by Haddock version 2.6.0 |