-- Hoogle documentation, generated by Haddock
-- See Hoogle, http://www.haskell.org/hoogle/
-- | A Haskell implementation of MessagePack
--
-- A Haskell implementation of MessagePack http://msgpack.org/
--
-- This is a fork of msgpack-haskell
-- https://github.com/msgpack/msgpack-haskell, since the original
-- author is unreachable. This fork incorporates a number of bugfixes and
-- is actively being developed.
@package data-msgpack
@version 0.0.13
-- | Simple interface to pack and unpack MessagePack data.
module Data.MessagePack
-- | Pack a Haskell value to MessagePack binary.
pack :: MessagePack a => a -> ByteString
-- | Unpack MessagePack binary to a Haskell value. If it fails, it fails in
-- the Monad. In the Maybe monad, failure returns Nothing.
unpack :: (Applicative m, Monad m, MessagePack a) => ByteString -> m a
putObject :: Object -> Put
putNil :: Put
putBool :: Bool -> Put
putInt :: Int64 -> Put
putWord :: Word64 -> Put
putFloat :: Float -> Put
putDouble :: Double -> Put
putStr :: Text -> Put
putBin :: ByteString -> Put
putArray :: (a -> Put) -> [a] -> Put
putMap :: (a -> Put) -> (b -> Put) -> [(a, b)] -> Put
putExt :: Word8 -> ByteString -> Put
getObject :: Get Object
getNil :: Get ()
getBool :: Get Bool
getInt :: Get Int64
getWord :: Get Word64
getFloat :: Get Float
getDouble :: Get Double
getStr :: Get Text
getBin :: Get ByteString
getArray :: Get a -> Get [a]
getMap :: Get a -> Get b -> Get [(a, b)]
getExt :: Get (Word8, ByteString)
instance Data.Binary.Class.Binary Data.MessagePack.Types.Object.Object