-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | Binary serialisation support for Quivers -- -- Handling for the binary library within Quivers @package quiver-binary @version 0.1.0.0 -- | This module provides functions for encoding/decoding values within a -- Quiver. -- -- For any I/O operations, use the functions provided by the -- quiver-bytestring package. module Control.Quiver.Binary -- | Encode all values. spput :: (Binary a) => SConsumer a PutM e -- | Decode all values. spget :: (Binary a) => SProducer a Get e -- | Decode all values from the provided stream of strict ByteStrings. Note -- that the error message does not return the ByteOffset from the -- Decoder as it will probably not match the actual location of -- the source ByteString. spdecode :: (Binary a, Monad m) => SP ByteString a m String -- | Decode all values from the provided stream of lazy ByteStrings. Note -- that the error message does not return the ByteOffset from the -- Decoder as it will probably not match the actual location of -- the source ByteString. spdecodeL :: forall a m. (Binary a, Monad m) => SP ByteString a m String -- | Encode all values to a stream of strict ByteStrings. spencode :: (Binary a, Functor m) => SP a ByteString m () -- | Encode all values to a stream of lazy ByteStrings. spencodeL :: (Binary a) => SP a ByteString m ()