public class TBinaryProtocol
extends org.apache.thrift.protocol.TBinaryProtocol
| Modifier and Type | Class and Description |
|---|---|
static class |
TBinaryProtocol.Factory |
| Constructor and Description |
|---|
TBinaryProtocol(TMemoryInputTransport trans) |
TBinaryProtocol(TMemoryInputTransport trans,
boolean strictRead,
boolean strictWrite) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
readBinary() |
byte |
readByte() |
double |
readDouble() |
short |
readI16() |
int |
readI32() |
long |
readI64() |
String |
readString() |
String |
readStringBody(int size) |
readBool, readFieldBegin, readFieldEnd, readListBegin, readListEnd, readMapBegin, readMapEnd, readMessageBegin, readMessageEnd, readSetBegin, readSetEnd, readStructBegin, readStructEnd, writeBinary, writeBool, writeByte, writeDouble, writeFieldBegin, writeFieldEnd, writeFieldStop, writeI16, writeI32, writeI64, writeListBegin, writeListEnd, writeMapBegin, writeMapEnd, writeMessageBegin, writeMessageEnd, writeSetBegin, writeSetEnd, writeString, writeStructBegin, writeStructEndpublic TBinaryProtocol(TMemoryInputTransport trans)
public TBinaryProtocol(TMemoryInputTransport trans, boolean strictRead, boolean strictWrite)
public byte readByte()
throws org.apache.thrift.TException
readByte in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionpublic short readI16()
throws org.apache.thrift.TException
readI16 in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionpublic int readI32()
throws org.apache.thrift.TException
readI32 in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionpublic long readI64()
throws org.apache.thrift.TException
readI64 in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionpublic double readDouble()
throws org.apache.thrift.TException
readDouble in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionpublic String readString() throws org.apache.thrift.TException
readString in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionpublic String readStringBody(int size) throws org.apache.thrift.TException
readStringBody in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionpublic ByteBuffer readBinary() throws org.apache.thrift.TException
readBinary in class org.apache.thrift.protocol.TBinaryProtocolorg.apache.thrift.TExceptionCopyright © 2013-2014. All Rights Reserved.