public class ByteBuffer extends Object
| Constructor and Description |
|---|
ByteBuffer() |
ByteBuffer(byte[] output,
int index) |
| Modifier and Type | Method and Description |
|---|---|
void |
append(byte value) |
void |
append(byte[] bytes) |
void |
append(byte[] bytes,
int off,
int len) |
void |
append(byte value1,
byte value2) |
void |
append(int value) |
void |
append(short value) |
void |
append(short value1,
short value2) |
void |
append24(int value) |
void |
append24(int value1,
int value2) |
byte[] |
getBytes() |
int |
getIndex() |
void |
reset(byte[] data) |
void |
reset(byte[] data,
int index) |
public ByteBuffer()
public ByteBuffer(byte[] output,
int index)
public void reset(byte[] data)
public void reset(byte[] data,
int index)
public void append(byte value)
public void append(byte value1,
byte value2)
public void append(short value)
public void append(short value1,
short value2)
public void append24(int value)
public void append24(int value1,
int value2)
public void append(int value)
public void append(byte[] bytes)
public void append(byte[] bytes,
int off,
int len)
public byte[] getBytes()
public int getIndex()
Copyright © 2014. All rights reserved.