| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Rattletrap.Encode.Section
Synopsis
- 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(putSectionputContentcontent)