| Package | Description |
|---|---|
| org.tio.utils.hutool |
| Modifier and Type | Method and Description |
|---|---|
FastByteBuffer |
FastByteBuffer.append(byte element)
向快速缓冲加入一个字节
|
FastByteBuffer |
FastByteBuffer.append(byte[] array)
向快速缓冲加入数据
|
FastByteBuffer |
FastByteBuffer.append(byte[] array,
int off,
int len)
向快速缓冲加入数据
|
FastByteBuffer |
FastByteBuffer.append(ByteBuffer buffer)
向快速缓冲加入数据
|
FastByteBuffer |
FastByteBuffer.append(FastByteBuffer buff)
将另一个快速缓冲加入到自身
|
FastByteBuffer |
FastByteBuffer.reset()
重置,用于复用
|
FastByteBuffer |
FastByteBuffer.setBoolean(int index,
boolean value)
设置 boolean 值,true 为 1,false 为 0
|
FastByteBuffer |
FastByteBuffer.setByte(int index,
int value)
设定指定位置的字节
|
FastByteBuffer |
FastByteBuffer.setBytes(int index,
byte[] src)
设置指定 index 的 byte
|
FastByteBuffer |
FastByteBuffer.setBytes(int index,
byte[] src,
int srcIndex,
int length)
设置字节
|
FastByteBuffer |
FastByteBuffer.setDoubleBE(int index,
double value)
写出双精度浮点
|
FastByteBuffer |
FastByteBuffer.setDoubleLE(int index,
double value)
写出双精度浮点
|
FastByteBuffer |
FastByteBuffer.setFloatBE(int index,
float value)
写出单精度浮点
|
FastByteBuffer |
FastByteBuffer.setFloatLE(int index,
float value)
写出单精度浮点
|
FastByteBuffer |
FastByteBuffer.setIntBE(int index,
long value)
写出 4 个字节,大端模式
|
FastByteBuffer |
FastByteBuffer.setIntLE(int index,
long value)
写出 4 个字节,小端模式
|
FastByteBuffer |
FastByteBuffer.setLongBE(int index,
long value)
写出 8 个字节,大端模式
|
FastByteBuffer |
FastByteBuffer.setLongLE(int index,
long value)
写出 8 个字节,小端模式
|
FastByteBuffer |
FastByteBuffer.setMediumBE(int index,
int value)
写出 3 个字节,大端模式
|
FastByteBuffer |
FastByteBuffer.setMediumLE(int index,
int value)
写出 3 个字节,小端模式
|
FastByteBuffer |
FastByteBuffer.setShortBE(int index,
int value)
写出 short,大端模式
|
FastByteBuffer |
FastByteBuffer.setShortLE(int index,
int value)
写出 short,小端模式
|
FastByteBuffer |
FastByteBuffer.writeBoolean(boolean value)
写出一个 boolean 值,true 为 1,false 为 0
|
FastByteBuffer |
FastByteBuffer.writeByte(int value)
写出一个byte类型的数据
|
FastByteBuffer |
FastByteBuffer.writeBytes(byte[] bytes)
写出一个bytes类型的数据
|
FastByteBuffer |
FastByteBuffer.writeBytes(byte[] bytes,
int off,
int len)
写出一个bytes类型的数据
|
FastByteBuffer |
FastByteBuffer.writeDoubleBE(double value)
写出双精度浮点
|
FastByteBuffer |
FastByteBuffer.writeDoubleLE(double value)
写出双精度浮点
|
FastByteBuffer |
FastByteBuffer.writeFloatBE(float value)
写出单精度浮点
|
FastByteBuffer |
FastByteBuffer.writeFloatLE(float value)
写出单精度浮点
|
FastByteBuffer |
FastByteBuffer.writeIntBE(long value)
写出 4 个字节,大端模式
|
FastByteBuffer |
FastByteBuffer.writeIntLE(long value)
写出 4 个字节,小端模式
|
FastByteBuffer |
FastByteBuffer.writeLongBE(long value)
写出 8 个字节,大端模式
|
FastByteBuffer |
FastByteBuffer.writeLongLE(long value)
写出 8 个字节,小端模式
|
FastByteBuffer |
FastByteBuffer.writeMediumBE(int value)
写出 3 个字节,大端模式
|
FastByteBuffer |
FastByteBuffer.writeMediumLE(int value)
写出 3 个字节,小端模式
|
FastByteBuffer |
FastByteBuffer.writeShortBE(int value)
写出 short,大端模式
|
FastByteBuffer |
FastByteBuffer.writeShortLE(int value)
写出 short,小端模式
|
FastByteBuffer |
FastByteBuffer.writeVarLengthInt(int num)
写可变长度整数
|
| Modifier and Type | Method and Description |
|---|---|
FastByteBuffer |
FastByteBuffer.append(FastByteBuffer buff)
将另一个快速缓冲加入到自身
|
Copyright © 2025. All rights reserved.