| ||||||||||||||
| ||||||||||||||
Documentation | ||||||||||||||
data Bin a | ||||||||||||||
class Binary a where | ||||||||||||||
| ||||||||||||||
data BinHandle | ||||||||||||||
openBinIO :: Handle -> IO BinHandle | ||||||||||||||
openBinIO_ :: Handle -> IO BinHandle | ||||||||||||||
openBinMem :: Int -> IO BinHandle | ||||||||||||||
seekBin :: BinHandle -> Bin a -> IO () | ||||||||||||||
seekBy :: BinHandle -> Int -> IO () | ||||||||||||||
tellBin :: BinHandle -> IO (Bin a) | ||||||||||||||
castBin :: Bin a -> Bin b | ||||||||||||||
writeBinMem :: BinHandle -> FilePath -> IO () | ||||||||||||||
readBinMem :: FilePath -> IO BinHandle | ||||||||||||||
fingerprintBinMem :: BinHandle -> IO Fingerprint | ||||||||||||||
isEOFBin :: BinHandle -> IO Bool | ||||||||||||||
putAt :: Binary a => BinHandle -> Bin a -> a -> IO () | ||||||||||||||
getAt :: Binary a => BinHandle -> Bin a -> IO a | ||||||||||||||
putByte :: BinHandle -> Word8 -> IO () | ||||||||||||||
getByte :: BinHandle -> IO Word8 | ||||||||||||||
lazyGet :: Binary a => BinHandle -> IO a | ||||||||||||||
lazyPut :: Binary a => BinHandle -> a -> IO () | ||||||||||||||
data ByteArray | ||||||||||||||
| ||||||||||||||
getByteArray :: BinHandle -> Int -> IO ByteArray | ||||||||||||||
putByteArray :: BinHandle -> ByteArray# -> Int# -> IO () | ||||||||||||||
data UserData | ||||||||||||||
| ||||||||||||||
getUserData :: BinHandle -> UserData | ||||||||||||||
setUserData :: BinHandle -> UserData -> BinHandle | ||||||||||||||
newReadState :: Dictionary -> IO UserData | ||||||||||||||
newWriteState :: (BinHandle -> Name -> IO ()) -> (BinHandle -> FastString -> IO ()) -> IO UserData | ||||||||||||||
putDictionary :: BinHandle -> Int -> UniqFM (Int, FastString) -> IO () | ||||||||||||||
getDictionary :: BinHandle -> IO Dictionary | ||||||||||||||
putFS :: BinHandle -> FastString -> IO () | ||||||||||||||
Produced by Haddock version 2.6.0 |