Class ByteAccumulator
- java.lang.Object
-
- org.eclipse.jetty.websocket.common.extensions.compress.ByteAccumulator
-
public class ByteAccumulator extends Object
-
-
Constructor Summary
Constructors Constructor Description ByteAccumulator(int maxOverallBufferSize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcopyChunk(byte[] buf, int offset, int length)intgetLength()voidtransferTo(ByteBuffer buffer)
-
-
-
Method Detail
-
copyChunk
public void copyChunk(byte[] buf, int offset, int length)
-
getLength
public int getLength()
-
transferTo
public void transferTo(ByteBuffer buffer)
-
-