public class ByteAccumulator extends Object
Constructor and Description |
---|
ByteAccumulator(int maxOverallBufferSize) |
Modifier and Type | Method and Description |
---|---|
void |
addBuffer(byte[] buf,
int offset,
int length) |
ByteBuffer |
getByteBuffer(ByteBufferPool pool) |
int |
getLength() |
public void addBuffer(byte[] buf, int offset, int length)
public int getLength()
public ByteBuffer getByteBuffer(ByteBufferPool pool)
Copyright © 1995-2014 Mort Bay Consulting. All Rights Reserved.