Safe Haskell | None |
---|---|
Language | Haskell2010 |
- putSection :: (a -> Put) -> Section a -> Put
Documentation
putSection :: (a -> Put) -> Section a -> Put Source #
Given a way to put the sectionBody
, puts a section. This will also put
the size and CRC.
let bytes =runPut
(putSection
putContent
content)