ghc-6.12.1: The GHC APISource codeContentsIndex
Binary
Documentation
data Bin a Source
class Binary a whereSource
Methods
put_ :: BinHandle -> a -> IO ()Source
put :: BinHandle -> a -> IO (Bin a)Source
get :: BinHandle -> IO aSource
data BinHandle Source
openBinIO :: Handle -> IO BinHandleSource
openBinIO_ :: Handle -> IO BinHandleSource
openBinMem :: Int -> IO BinHandleSource
seekBin :: BinHandle -> Bin a -> IO ()Source
seekBy :: BinHandle -> Int -> IO ()Source
tellBin :: BinHandle -> IO (Bin a)Source
castBin :: Bin a -> Bin bSource
writeBinMem :: BinHandle -> FilePath -> IO ()Source
readBinMem :: FilePath -> IO BinHandleSource
fingerprintBinMem :: BinHandle -> IO FingerprintSource
isEOFBin :: BinHandle -> IO BoolSource
putAt :: Binary a => BinHandle -> Bin a -> a -> IO ()Source
getAt :: Binary a => BinHandle -> Bin a -> IO aSource
putByte :: BinHandle -> Word8 -> IO ()Source
getByte :: BinHandle -> IO Word8Source
lazyGet :: Binary a => BinHandle -> IO aSource
lazyPut :: Binary a => BinHandle -> a -> IO ()Source
data ByteArray Source
Constructors
BA ByteArray#
getByteArray :: BinHandle -> Int -> IO ByteArraySource
putByteArray :: BinHandle -> ByteArray# -> Int# -> IO ()Source
data UserData Source
Constructors
UserData
ud_dict :: Dictionary
ud_symtab :: SymbolTable
ud_put_name :: BinHandle -> Name -> IO ()
ud_put_fs :: BinHandle -> FastString -> IO ()
getUserData :: BinHandle -> UserDataSource
setUserData :: BinHandle -> UserData -> BinHandleSource
newReadState :: Dictionary -> IO UserDataSource
newWriteState :: (BinHandle -> Name -> IO ()) -> (BinHandle -> FastString -> IO ()) -> IO UserDataSource
putDictionary :: BinHandle -> Int -> UniqFM (Int, FastString) -> IO ()Source
getDictionary :: BinHandle -> IO DictionarySource
putFS :: BinHandle -> FastString -> IO ()Source
Produced by Haddock version 2.6.0