@InterfaceAudience.Private public class OutputBuffer extends Object
Modifier and Type | Field and Description |
---|---|
protected ByteBuffer |
byteBuffer |
Constructor and Description |
---|
OutputBuffer(BufferType type,
int outputBufferCapacity) |
OutputBuffer(byte[] bytes) |
Modifier and Type | Method and Description |
---|---|
ByteBuffer |
getByteBuffer() |
BufferType |
getType() |
int |
length() |
int |
limit() |
void |
rewind() |
protected ByteBuffer byteBuffer
public OutputBuffer(BufferType type, int outputBufferCapacity)
public OutputBuffer(byte[] bytes)
public BufferType getType()
public ByteBuffer getByteBuffer()
public int length()
public void rewind()
public int limit()
Copyright © 2008–2024 Apache Software Foundation. All rights reserved.