public class StringWithLengthItemType extends StringItemType<StringWithLengthItemType>
CHARSET, INSTANCE| 限定符和类型 | 方法和说明 |
|---|---|
byte |
fillByte() |
StringWithLengthItemType |
fillByte(byte newValue)
允许定制定长字符串的填充字符。
|
Item |
load(BytesLoader in) |
void |
toBytes(Object itemValue,
BytesBuilder build) |
String |
toString() |
static StringWithLengthItemType |
withFixLength(int bytes,
String name) |
static StringWithLengthItemType |
withLengthHeader(int headerBytes,
String name) |
addSubitemImpl, create, getSubitemImpl, insideValueClass, load, newString_newItem, BCD_DATE, BCD_DATETIME, BCD, BIN, BITS, BYTES_ASC, BYTES, dbParamCount, DEC, description, description, flatItemTypes, formatFlatObjects, HEX, itemValue, LIST_H4, LIST, load, load, match, name, NUM, REMAIN_BYTES, safeSetItemValue, setSubitemImpl, SNUM, statementParamImpl, STR, STRUCT, toBytes, toDoubleImpl, toFlatObject, toString, toString, 包类型public static StringWithLengthItemType withFixLength(int bytes, String name)
public static StringWithLengthItemType withLengthHeader(int headerBytes, String name)
public Item load(BytesLoader in)
load 在类中 StringItemType<StringWithLengthItemType>in - loaderpublic byte fillByte()
public StringWithLengthItemType fillByte(byte newValue)
newValue - newValuepublic void toBytes(Object itemValue, BytesBuilder build)
toBytes 在类中 StringItemType<StringWithLengthItemType>itemValue - itemValuebuild - builderpublic String toString()
toString 在类中 ItemType<StringWithLengthItemType>Copyright © 2022. All rights reserved.