Java org.apache.thrift.transport TMemoryBuffer fields, constructors, methods, implement or subclass

Example usage for Java org.apache.thrift.transport TMemoryBuffer fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.thrift.transport TMemoryBuffer.

The text is from its open source code.

Constructor

TMemoryBuffer(int size)
Create a TMemoryBuffer with an initial buffer size of size.

Method

voidclose()
byte[]getArray()
intlength()
intread(byte[] buf, int off, int len)
StringtoString(Charset charset)
Output the contents of the memory buffer as a String, using the supplied encoding
voidwrite(byte[] buf, int off, int len)