Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- doubleToBytes :: Double -> [Word8]
- floatToBytes :: Float -> [Word8]
- pprASCII :: ByteString -> SDoc
- pprString :: ByteString -> SDoc
- pprFileEmbed :: FilePath -> SDoc
- pprSectionHeader :: NCGConfig -> Section -> SDoc
Documentation
doubleToBytes :: Double -> [Word8] Source #
Get bytes of a Double representation
floatToBytes :: Float -> [Word8] Source #
Get bytes of a Float representation
pprASCII :: ByteString -> SDoc Source #
pprString :: ByteString -> SDoc Source #
Emit a ".string" directive
pprFileEmbed :: FilePath -> SDoc Source #
Emit a ".incbin" directive
A NULL byte is added after the binary data.