Portability | non-portable |
---|---|

Stability | experimental |

Maintainer | Edward Kmett <ekmett@gmail.com> |

Safe Haskell | Safe-Inferred |

# Documentation

MonadTrans Coding | |

MonadReader e m => MonadReader e (Coding m) | |

MonadState s m => MonadState s (Coding m) | |

Monad m => Monad (Coding m) | |

Functor (Coding m) | |

MonadPlus m => MonadPlus (Coding m) | |

Monad m => Applicative (Coding m) | |

(Monad m, Alternative m) => Alternative (Coding m) | |

MonadGet m => MonadGet (Coding m) | |

MonadPut m => MonadPut (Coding m) |

# Get

getAligned :: MonadGet m => m a -> Coding m aSource

getBit :: MonadGet m => Coding m BoolSource

`Get`

a single bit, consuming an entire `byte`

if the bit buffer is empty

# Put

putAligned :: MonadPut m => m a -> Coding m aSource