midi-0.1.4: Handling of MIDI messages and filesSource codeContentsIndex
Sound.MIDI.IO
Description
Taken from Haskore.
Synopsis
openBinaryFile
readBinaryFile :: FilePath -> IO ByteList
writeBinaryFile :: FilePath -> ByteList -> IO ()
type ByteList = [Word8]
listCharFromByte :: ByteList -> String
listByteFromChar :: String -> ByteList
Documentation
openBinaryFile
readBinaryFile :: FilePath -> IO ByteListSource
writeBinaryFile :: FilePath -> ByteList -> 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).ByteList.Lazy, however this introduces a new package dependency.
type ByteList = [Word8]Source
listCharFromByte :: ByteList -> StringSource
listByteFromChar :: String -> ByteListSource
Produced by Haddock version 2.4.2