hosc-0.18.1: Haskell Open Sound Control
Sound.OSC.Coding.Cast
Description
Bit-level type casts and byte layout string typecasts.
f32_w32 :: Float -> Word32 Source #
The IEEE byte representation of a float.
w32_f32 :: Word32 -> Float Source #
Inverse of f32_w32.
f32_w32
f64_w64 :: Double -> Word64 Source #
The IEEE byte representation of a double.
w64_f64 :: Word64 -> Double Source #
Inverse of f64_i64.
f64_i64
str_cstr :: String -> [Word8] Source #
Transform a haskell string into a C string (a null suffixed byte string).
cstr_str :: [Word8] -> String Source #
Inverse of str_cstr.
str_cstr
str_pstr :: String -> [Word8] Source #
Transform a haskell string to a pascal string (a length prefixed byte string).
pstr_str :: [Word8] -> String Source #
Inverse of str_pstr.
str_pstr