- type family BufferReq action
- data BufferRegion tag = BufferRegion {}
- buffer_region_end :: BufferRegion tag -> BytePtr
- pop_bytes :: BufferRegion tag -> Size -> BufferRegion tag
- type Iter = Ptr Word8
Documentation
type family BufferReq action Source
All actions have a buffering requirement. In the case of an action with a static data model the buffer requirement is the memory required by the marshaled data. XXX: All actions? Maybe easier to just have a StaticBufferReq that is only defined for static buffer actions.
data BufferRegion tag Source
NFData (BufferRegion tag) |
buffer_region_end :: BufferRegion tag -> BytePtrSource
pop_bytes :: BufferRegion tag -> Size -> BufferRegion tagSource