encoding-0.10.2: A library for various character encodings

Safe Haskell | None
Language | Haskell2010

Data.Static

# Documentation

class StaticElement e where Source #

Methods

extract :: Addr# -> Int# -> e Source #

gen :: e -> [Word8] Source #

#### Instances

Instances details

StaticElement Word16 Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> Word16 Source # gen :: Word16 -> [Word8] Source #
StaticElement Word32 Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> Word32 Source # gen :: Word32 -> [Word8] Source #
StaticElement Word8 Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> Word8 Source # gen :: Word8 -> [Word8] Source #
StaticElement Char Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> Char Source # gen :: Char -> [Word8] Source #
StaticElement (Maybe Char) Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> Maybe Char Source # gen :: Maybe Char -> [Word8] Source #
StaticElement a => StaticElement (a, a) Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> (a, a) Source # gen :: (a, a) -> [Word8] Source #
StaticElement a => StaticElement (a, a, a) Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> (a, a, a) Source # gen :: (a, a, a) -> [Word8] Source #
StaticElement a => StaticElement (a, a, a, a) Source # |
Instance details Defined in Data.Static Methods extract :: Addr# -> Int# -> (a, a, a, a) Source # gen :: (a, a, a, a) -> [Word8] Source #