public class ByteArrayBuffer
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer |
protected int |
position |
Constructor and Description |
---|
ByteArrayBuffer() |
Modifier and Type | Method and Description |
---|---|
protected void |
afterResize() |
void |
append(byte[] bytes) |
void |
append(byte[] bytes,
int offset,
int length) |
void |
appendInt(int v) |
void |
appendIntAsByte(int msgType) |
void |
flushTo(java.io.OutputStream socketOutputStream) |
void |
reset() |
public void reset()
public void appendIntAsByte(int msgType)
protected void afterResize()
public void appendInt(int v)
public void append(byte[] bytes, int offset, int length)
public void append(byte[] bytes)
public void flushTo(java.io.OutputStream socketOutputStream) throws java.io.IOException
java.io.IOException
Copyright © 2019. All Rights Reserved.