Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- castFloatToWord8Array :: STUArray s Int Float -> ST s (STUArray s Int Word8)
- castDoubleToWord8Array :: STUArray s Int Double -> ST s (STUArray s Int Word8)
- floatToBytes :: Float -> [Int]
- doubleToBytes :: Double -> [Int]
- pprASCII :: ByteString -> SDoc
- pprString :: ByteString -> SDoc
- pprFileEmbed :: FilePath -> SDoc
- pprSectionHeader :: NCGConfig -> Section -> SDoc
Documentation
floatToBytes :: Float -> [Int] Source #
doubleToBytes :: Double -> [Int] Source #
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.