Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Instances
Show IOVec Source # | |
Storable IOVec Source # | |
Reading and writing
processVMReadV :: CPid -> Ptr Word8 -> Int -> IO [Word8] Source #
Wrapper function for process_vm_readv. No flags, only single io vectors are read
processVMWriteV :: CPid -> Ptr Word8 -> Int -> [Word8] -> IO () Source #
Wrapper function for process_vm_writev. No flags, only single io vectors are written
encode :: Binary a => a -> [Word8] Source #
Wrapper function for Data.Binary.encode. Our package works with lists of Word8 so this is a convenient helper function that does the conversion for you.
It is not efficient, but this module is not designed for large amounts of memory transfers anyway.
module Foreign