Data.Binary

The Binary class

class Binary t

Example

Generic support

class GBinary f

The Get and Put monads

data Get a

type Put

Useful helpers for writing instances

putWord8

getWord8

Binary serialisation

encode

decode

decodeOrFail

IO functions for serialisation

encodeFile

decodeFile

decodeFileOrFail