data-accessor-0.2.1: Utilities for accessing and manipulating fields of recordsSource codeContentsIndex
Data.Accessor.BinaryRead
Description

Reading records from streams

This is still only for demonstration and might be of not much use and you should not rely on the interface.

Documentation
type Stream = [Word8]Source
class C a whereSource
Methods
any :: ByteSource source => source aSource
show/hide Instances
class Monad source => ByteSource source whereSource
Methods
readWord8 :: source Word8Source
show/hide Instances
class ByteStream s whereSource
Methods
getWord8 :: Monad m => s -> m (Word8, s)Source
show/hide Instances
ByteCompatible byte => ByteStream ([] byte)
class ByteCompatible byte whereSource
Methods
toByte :: byte -> Word8Source
show/hide Instances
newtype Parser s r Source
Constructors
Parser
runParser :: (r, s) -> Maybe (r, s)
field :: (ByteStream s, C a) => T r a -> Parser s rSource
record :: [Parser s r] -> Parser s rSource
Produced by Haddock version 2.4.2