processmemory-0.1.0.0: C bindings for the gnu-extension functions process_vm_readv and process_vm_writev

Safe HaskellSafe
LanguageHaskell2010

Data.Memory.Debug.Serialize

Synopsis

Documentation

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.

decode :: Binary a => [Word8] -> a Source #