public class ByteBuffer extends Object
| 构造器和说明 |
|---|
ByteBuffer(byte[] bytes,
int endian) |
ByteBuffer(byte[] bytes,
int endian,
int offset) |
ByteBuffer(int endian) |
ByteBuffer(int length,
int endian) |
| 限定符和类型 | 方法和说明 |
|---|---|
byte[] |
bytes() |
ByteBuffer |
clear() |
byte |
endian() |
void |
endian(int endian) |
byte[] |
getBytes() |
List |
getList() |
int |
getOffset() |
ByteBuffer |
offset(int offset) |
ByteBuffer |
put(byte b) |
ByteBuffer |
put(byte[] bs) |
ByteBuffer |
put(double b) |
ByteBuffer |
put(int b) |
ByteBuffer |
put(long b) |
ByteBuffer |
put(short s) |
byte |
readByte() |
double |
readDouble() |
int |
readInt() |
void |
setBytes(byte[] bytes) |
void |
setList(List list) |
void |
setOffset(int offset) |
ByteBuffer |
step(int count) |
public ByteBuffer(int endian)
public ByteBuffer(int length,
int endian)
public ByteBuffer(byte[] bytes,
int endian)
public ByteBuffer(byte[] bytes,
int endian,
int offset)
public ByteBuffer put(byte[] bs)
public ByteBuffer put(byte b)
public ByteBuffer put(int b)
public ByteBuffer put(short s)
public ByteBuffer put(long b)
public ByteBuffer put(double b)
public ByteBuffer offset(int offset)
public byte readByte()
public int readInt()
public double readDouble()
public ByteBuffer step(int count)
public byte[] bytes()
public List getList()
public void setList(List list)
public byte[] getBytes()
public void setBytes(byte[] bytes)
public int getOffset()
public void setOffset(int offset)
public byte endian()
public void endian(int endian)
public ByteBuffer clear()
Copyright © 2025. All rights reserved.