msgpack-1.0.1.0: A Haskell implementation of MessagePack

Copyright© Hideyuki Tanaka 2009-2015
© Herbert Valerio Riedel 2019
LicenseBSD3
Safe HaskellTrustworthy
LanguageHaskell2010

Data.MessagePack.Get

Description

MessagePack Deserializer using Data.Binary

Synopsis

Documentation

getInt :: Get Int Source #

Deserialize an integer into an Int

WARNING: Currently this function silently wraps around integers to make them fit into an Int. This will be changed in the next major version (i.e. msgpack-1.1.0).

getWord :: Get Word Source #

Deserialize an integer into a Word

This operation will fail if the encoded integer doesn't fit into the value range of the Word type.

Since: 1.0.1.0

getInt64 :: Get Int64 Source #

Deserialize an integer into an Int64

This operation will fail if the encoded integer doesn't fit into the value range of the Int64 type.

Since: 1.0.1.0

getWord64 :: Get Word64 Source #

Deserialize an integer into a Word

This operation will fail if the encoded integer doesn't fit into the value range of the Word64 type.

Since: 1.0.1.0

getMap :: Get a -> Get b -> Get (Vector (a, b)) Source #