<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--Rendered using the Haskell Html Library v0.2--> <HTML ><HEAD ><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" ><TITLE >Data.Binary</TITLE ><LINK HREF="haddock.css" REL="stylesheet" TYPE="text/css" ><SCRIPT SRC="haddock-util.js" TYPE="text/javascript" ></SCRIPT ></HEAD ><BODY ><DIV CLASS="outer" ><DIV CLASS="mini-topbar" >Data.Binary</DIV ><DIV CLASS="mini-synopsis" ><H1 >The Binary class </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >class</SPAN > <A HREF="Data-Binary.html#t%3ABinary" TARGET="main" >Binary</A > t</DIV > <H1 >The Get and Put monads </H1 > <DIV CLASS="decl" ><SPAN CLASS="keyword" >data</SPAN > <A HREF="Data-Binary.html#t%3AGet" TARGET="main" >Get</A > a</DIV > <DIV CLASS="decl" ><SPAN CLASS="keyword" >type</SPAN > <A HREF="Data-Binary.html#t%3APut" TARGET="main" >Put</A > </DIV > <H1 >Useful helpers for writing instances </H1 > <DIV CLASS="decl" ><A HREF="Data-Binary.html#v%3AputWord8" TARGET="main" >putWord8</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-Binary.html#v%3AgetWord8" TARGET="main" >getWord8</A ></DIV > <H1 >Binary serialisation </H1 > <DIV CLASS="decl" ><A HREF="Data-Binary.html#v%3Aencode" TARGET="main" >encode</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-Binary.html#v%3Adecode" TARGET="main" >decode</A ></DIV > <H1 >IO functions for serialisation </H1 > <DIV CLASS="decl" ><A HREF="Data-Binary.html#v%3AencodeFile" TARGET="main" >encodeFile</A ></DIV > <DIV CLASS="decl" ><A HREF="Data-Binary.html#v%3AdecodeFile" TARGET="main" >decodeFile</A ></DIV > </DIV ></DIV ></BODY ></HTML >