haskore-0.0.5: The Haskore Computer Music SystemSource codeContentsIndex
Haskore.General.IO
Synopsis
readBinaryFile :: FilePath -> IO ByteString
writeBinaryFile :: FilePath -> ByteString -> IO ()
type ByteString = [Word8]
stringCharFromByte :: ByteString -> String
stringByteFromChar :: String -> ByteString
Documentation
readBinaryFile :: FilePath -> IO ByteStringSource
writeBinaryFile :: FilePath -> ByteString -> IO ()Source
Hugs makes trouble here because it performs UTF-8 conversions. E.g. [255] is output as [195,191] It would be easy to replace these routines by FastPackedString(fps).ByteString.Lazy, however this introduces a new package dependency.
type ByteString = [Word8]Source
stringCharFromByte :: ByteString -> StringSource
stringByteFromChar :: String -> ByteStringSource
Produced by Haddock version 2.3.0