midi-0.2.2.6: Handling of MIDI messages and files
Safe HaskellSafe-Inferred
LanguageHaskell2010

Sound.MIDI.IO

Description

Taken from Haskore.

Synopsis

Documentation

openBinaryFile :: FilePath -> IOMode -> IO Handle #

readBinaryFile :: FilePath -> IO ByteList Source #

writeBinaryFile :: FilePath -> ByteList -> IO () Source #

FixMe: 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 #