thrift-0.12.0: Haskell bindings for the Apache Thrift RPC system

Safe HaskellNone
LanguageHaskell2010

Thrift.Protocol.Compact

Synopsis

Documentation

data CompactProtocol a Source #

the Compact Protocol implements the standard Thrift TCompactProcotol which is similar to the TBinaryProtocol, but takes less space on the wire. Integral types are encoded using as varints.

Constructors

CompactProtocol a

Constuct a CompactProtocol with a Transport

parseVarint :: (Bits a, Integral a, Ord a) => (a -> b) -> Parser b Source #