Safe Haskell | None |
---|---|
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
- pprBytes :: ByteString -> SDoc
- pprSectionHeader :: Platform -> Section -> SDoc
Documentation
floatToBytes :: Float -> [Int] Source #
doubleToBytes :: Double -> [Int] Source #
pprASCII :: ByteString -> SDoc Source #
pprBytes :: ByteString -> SDoc Source #
Pretty print binary data.
Use either the ".string" directive or a ".incbin" directive. See Note [Embedding large binary blobs]
A NULL byte is added after the binary data.