Example usage for Java org.apache.thrift.transport TMemoryBuffer fields, constructors, methods, implement or subclass
The text is from its open source code.
TMemoryBuffer(int size) Create a TMemoryBuffer with an initial buffer size of size. |
void | close() |
byte[] | getArray() |
int | length() |
int | read(byte[] buf, int off, int len) |
String | toString(Charset charset) Output the contents of the memory buffer as a String, using the supplied encoding |
void | write(byte[] buf, int off, int len) |