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

Safe HaskellNone
LanguageHaskell98

Thrift.Protocol

Synopsis

Documentation

runParser :: (Protocol p, Transport t, Show a) => p t -> Parser a -> IO a Source

bsToDouble :: ByteString -> Double Source

Converts a ByteString to a Floating point number The ByteString is assumed to be encoded in network order (Big Endian) therefore the behavior of this function varies based on whether the local machine is big endian or little endian.