| 程序包 | 说明 |
|---|---|
| cn.foxtech.device.protocol.v1.s7plc.core.common.buff |
| 限定符和类型 | 方法和说明 |
|---|---|
static ByteWriteBuff |
ByteWriteBuff.newInstance(int capacity) |
static ByteWriteBuff |
ByteWriteBuff.newInstance(int capacity,
boolean littleEndian) |
static ByteWriteBuff |
ByteWriteBuff.newInstance(int capacity,
boolean littleEndian,
EByteBuffFormat format) |
static ByteWriteBuff |
ByteWriteBuff.newInstance(int capacity,
EByteBuffFormat format) |
ByteWriteBuff |
ByteWriteBuff.putByte(byte src)
添加字节数据
|
ByteWriteBuff |
ByteWriteBuff.putByte(byte src,
int desIndex) |
ByteWriteBuff |
ByteWriteBuff.putByte(int src)
添加int类型单字节数据
|
ByteWriteBuff |
ByteWriteBuff.putBytes(byte[] src)
添加字节数组数据
|
ByteWriteBuff |
ByteWriteBuff.putBytes(byte[] src,
int srcIndex)
添加字节数组数据
|
ByteWriteBuff |
ByteWriteBuff.putBytes(byte[] src,
int srcIndex,
int desIndex)
添加字节数组数据,当desIndex==this.offset时,才将this.offset进行偏移,否则保持不变
|
ByteWriteBuff |
ByteWriteBuff.putDouble(double src)
添加double数据
|
ByteWriteBuff |
ByteWriteBuff.putDouble(double src,
int desIndex)
添加double数据
|
ByteWriteBuff |
ByteWriteBuff.putDouble(double src,
int desIndex,
boolean littleEndian)
添加double数据
|
ByteWriteBuff |
ByteWriteBuff.putFloat(float src)
添加float数据
|
ByteWriteBuff |
ByteWriteBuff.putFloat(float src,
int desIndex)
添加float数据
|
ByteWriteBuff |
ByteWriteBuff.putFloat(float src,
int desIndex,
boolean littleEndian)
添加float数据
|
ByteWriteBuff |
ByteWriteBuff.putInteger(int src)
添加integer数据
|
ByteWriteBuff |
ByteWriteBuff.putInteger(int src,
int desIndex)
添加Integer数据
|
ByteWriteBuff |
ByteWriteBuff.putInteger(int src,
int desIndex,
boolean littleEndian)
添加integer数据
|
ByteWriteBuff |
ByteWriteBuff.putInteger(long src)
添加integer数据
|
ByteWriteBuff |
ByteWriteBuff.putInteger(long src,
int desIndex)
添加Integer数据
|
ByteWriteBuff |
ByteWriteBuff.putInteger(long src,
int desIndex,
boolean littleEndian)
添加integer数据
|
ByteWriteBuff |
ByteWriteBuff.putLong(long src)
添加long数据
|
ByteWriteBuff |
ByteWriteBuff.putLong(long src,
int desIndex)
添加long数据
|
ByteWriteBuff |
ByteWriteBuff.putLong(long src,
int desIndex,
boolean littleEndian)
添加long数据
|
ByteWriteBuff |
ByteWriteBuff.putShort(int src)
添加short数据
|
ByteWriteBuff |
ByteWriteBuff.putShort(int src,
int desIndex)
添加short数据
|
ByteWriteBuff |
ByteWriteBuff.putShort(int src,
int desIndex,
boolean littleEndian)
添加short数据
|
ByteWriteBuff |
ByteWriteBuff.putShort(short src)
添加short数据
|
ByteWriteBuff |
ByteWriteBuff.putShort(short src,
int desIndex)
添加short数据
|
ByteWriteBuff |
ByteWriteBuff.putShort(short src,
int desIndex,
boolean littleEndian)
添加short数据
|
ByteWriteBuff |
ByteWriteBuff.putString(String src)
添加string数据
|
ByteWriteBuff |
ByteWriteBuff.putString(String src,
Charset charsets)
添加string数据
|
ByteWriteBuff |
ByteWriteBuff.putString(String src,
Charset charsets,
int desIndex)
添加字符串
|
Copyright © 2024. All rights reserved.