public final class ByteBuffer extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) byte[] |
bytes |
(专用程序包) boolean |
fixed |
(专用程序包) int |
length |
private static int |
MAX_ARRAY_SIZE |
| 构造器和说明 |
|---|
ByteBuffer() |
ByteBuffer(byte[] bytes) |
ByteBuffer(int length) |
private static final int MAX_ARRAY_SIZE
byte[] bytes
int length
boolean fixed
public ByteBuffer()
public ByteBuffer(int length)
public ByteBuffer(byte[] bytes)
public void andEq(int offset,
byte value)
public void orEq(int offset,
byte value)
public void set(int offset,
byte value)
private void grow(int index)
public byte get(int offset)
public int reverse(int offset)
public int reverse(int offset,
int length)
public int size()
public boolean isFixed()
public byte[] toBytes()
Copyright © 2019–2025 indunet. All rights reserved.