public interface WriteBuffer
| Modifier and Type | Method and Description |
|---|---|
void |
writeByte(byte b)
writes a single byte to the buffer.
|
void |
writeBytes(byte[] bytes)
writes an array of bytes to the buffer
|
void |
writeInt(int i)
writes an int to the buffer.
|
void |
writeLong(long l)
writes a long to the buffer
|
void writeByte(byte b)
b - the bytevoid writeBytes(byte[] bytes)
bytes - the byte arrayvoid writeInt(int i)
i - the intvoid writeLong(long l)
l - the long