hosc-0.19: Haskell Open Sound Control
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.OSC.Coding.Convert

Description

Type conversion.

Synopsis

Int -> N

int_to_word8 :: Int -> Word8 Source #

Type specialised fromIntegral

int_to_word16 :: Int -> Word16 Source #

Type specialised fromIntegral.

int_to_int8 :: Int -> Int8 Source #

Type specialised fromIntegral

int_to_int16 :: Int -> Int16 Source #

Type specialised fromIntegral

int_to_int32 :: Int -> Int32 Source #

Type specialised fromIntegral

int_to_int64 :: Int -> Int64 Source #

Type specialised fromIntegral

N -> Int

int8_to_int :: Int8 -> Int Source #

Type specialised fromIntegral

int16_to_int :: Int16 -> Int Source #

Type specialised fromIntegral

int32_to_int :: Int32 -> Int Source #

Type specialised fromIntegral

int64_to_int :: Int64 -> Int Source #

Type specialised fromIntegral

word8_to_int :: Word8 -> Int Source #

Type specialised fromIntegral

N -> N

N -> Real

Enum

word8_to_enum :: Enum e => Word8 -> e Source #

Type-specialised toEnum of fromIntegral

word16_to_enum :: Enum e => Word16 -> e Source #

Type-specialised toEnum of fromIntegral

enum_to_word8 :: Enum e => e -> Word8 Source #

Type-specialised fromIntegral of fromEnum.

enum_to_word16 :: Enum e => e -> Word16 Source #

Type-specialised fromIntegral of fromEnum.

Enum/Char

word8_to_char :: Word8 -> Char Source #

Type-specialised word8_to_enum.

char_to_word8 :: Char -> Word8 Source #

Type-specialised enum_to_word8.