binary-file-0.12.8: read/write binary file

Safe HaskellNone

File.Binary

Documentation

class RetType r whereSource

Associated Types

type Argument r Source

Methods

fromType :: Str s => Argument r -> r -> sSource

toType :: Str s => Argument r -> s -> (r, s)Source

class Str a whereSource

Methods

tk :: Int -> a -> aSource

dp :: Int -> a -> aSource

ts :: a -> StringSource

fs :: String -> aSource

fbs :: ByteString -> aSource

tbs :: a -> ByteStringSource

ti :: a -> IntegerSource

fi :: Int -> Integer -> aSource

tiBE :: a -> IntegerSource

fiBE :: Int -> Integer -> aSource

cc :: [a] -> aSource

zero :: aSource

len :: a -> IntSource

empty :: a -> BoolSource

rev :: a -> aSource

Instances

tii :: Str a => Int -> a -> (Int, a)Source

tiiBE :: Str a => Int -> a -> (Int, a)Source

fii :: Str a => Int -> Int -> aSource

fiiBE :: Str a => Int -> Int -> aSource