public class ByteBuffer extends Object
Constructor and Description |
---|
ByteBuffer(byte[] buf,
int off,
int len) |
ByteBuffer(int length) |
Modifier and Type | Method and Description |
---|---|
void |
advance(int i) |
void |
append(byte chararcter) |
void |
append(char chararcter) |
void |
append(Integer integer) |
void |
comma() |
static byte[] |
copy(byte[] src1,
int off1,
int len1) |
byte[] |
getData() |
int |
getlength() |
static byte[] |
join(byte[] src1,
int off1,
int len1,
byte[] src2,
int off2,
int len2) |
String |
toString() |
public ByteBuffer(int length)
public ByteBuffer(byte[] buf, int off, int len)
public void append(char chararcter)
public void append(byte chararcter)
public void comma()
public void advance(int i)
public void append(Integer integer)
public byte[] getData()
public int getlength()
public static byte[] copy(byte[] src1, int off1, int len1)
public static byte[] join(byte[] src1, int off1, int len1, byte[] src2, int off2, int len2)
Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.