tokyocabinet-haskell-0.0.5: Haskell binding of Tokyo CabinetSource codeContentsIndex
Database.TokyoCabinet.Storable
Documentation
type PtrLen = (Ptr Word8, CInt)Source
liftPL :: (a -> (CStringLen -> IO b) -> IO b) -> a -> (PtrLen -> IO b) -> IO bSource
class (Show a, Read a) => Storable a whereSource
Methods
withPtrLen :: a -> (PtrLen -> IO b) -> IO bSource
withPtrLenL :: [a] -> (PtrLen -> IO b) -> IO bSource
peekPtrLenL :: PtrLen -> a -> IO [a]Source
peekPtrLen :: PtrLen -> IO aSource
toInt64 :: a -> Int64Source
toInt64L :: [a] -> Int64Source
fromString :: String -> aSource
fromStringL :: String -> [a]Source
withPtrLenForFStorable :: Storable a => a -> (PtrLen -> IO b) -> IO bSource
peekPtrLenForFStorable :: Storable a => PtrLen -> IO aSource
withPtrLenLForFStorable :: Storable a => [a] -> (PtrLen -> IO b) -> IO bSource
peekPtrLenLForFStorable :: Storable a => PtrLen -> a -> IO [a]Source
Produced by Haddock version 2.6.1