Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
module Thrift.Protocol
data BinaryProtocol a Source #
Transport a => BinaryProtocol a |
Instances
Transport t => StatelessProtocol (BinaryProtocol t) Source # | |
Defined in Thrift.Protocol.Binary serializeVal :: BinaryProtocol t -> ThriftVal -> ByteString Source # deserializeVal :: BinaryProtocol t -> ThriftType -> ByteString -> ThriftVal Source # | |
Transport t => Protocol (BinaryProtocol t) Source # | |
Defined in Thrift.Protocol.Binary readByte :: BinaryProtocol t -> IO ByteString Source # readVal :: BinaryProtocol t -> ThriftType -> IO ThriftVal Source # readMessage :: BinaryProtocol t -> ((Text, MessageType, Int32) -> IO b) -> IO b Source # writeVal :: BinaryProtocol t -> ThriftVal -> IO () Source # writeMessage :: BinaryProtocol t -> (Text, MessageType, Int32) -> IO () -> IO () Source # |
versionMask :: Int32 Source #