程序包 org.anyline.util
类 ByteBuffer
java.lang.Object
org.anyline.util.ByteBuffer
-
构造器概要
构造器构造器说明ByteBuffer(byte[] bytes, int endian) ByteBuffer(byte[] bytes, int endian, int offset) ByteBuffer(int endian) ByteBuffer(int length, int endian) -
方法概要
修饰符和类型方法说明byte[]bytes()clear()byteendian()voidendian(int endian) byte[]getBytes()getList()intoffset(int offset) put(byte b) put(byte[] bs) put(double b) put(int b) put(long b) put(short s) bytereadByte()doubleintreadInt()voidsetBytes(byte[] bytes) voidvoidsetOffset(int offset) step(int count)
-
构造器详细资料
-
ByteBuffer
public ByteBuffer(int endian) -
ByteBuffer
public ByteBuffer(int length, int endian) -
ByteBuffer
public ByteBuffer(byte[] bytes, int endian) -
ByteBuffer
public ByteBuffer(byte[] bytes, int endian, int offset)
-
-
方法详细资料
-
put
-
put
-
put
-
put
-
put
-
put
-
offset
-
readByte
public byte readByte() -
readInt
public int readInt() -
readDouble
public double readDouble() -
step
-
bytes
public byte[] bytes() -
getList
-
setList
-
getBytes
public byte[] getBytes() -
setBytes
public void setBytes(byte[] bytes) -
getOffset
public int getOffset() -
setOffset
public void setOffset(int offset) -
endian
public byte endian() -
endian
public void endian(int endian) -
clear
-