public class DecodeUtils extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
protected static BinaryDecoder |
binaryDecoder |
protected static BooleanDecoder |
booleanDecoder |
protected static ByteDecoder |
byteDecoder |
protected static CharacterDecoder |
characterDecoder |
protected static DoubleDecoder |
doubleDecoder |
protected static FloatDecoder |
floatDecoder |
protected static IntegerDecoder |
integerDecoder |
protected static LongDecoder |
longDecoder |
protected static ShortDecoder |
shortDecoder |
protected static StringDecoder |
stringDecoder |
| 构造器和说明 |
|---|
DecodeUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static byte[] |
binaryType(byte[] datagram,
int byteOffset,
int length) |
static boolean |
booleanType(byte[] datagram,
int byteOffset,
int bitOffset) |
static byte |
byteType(byte[] datagram,
int byteOffset) |
static char |
characterType(byte[] datagram,
int byteOffset) |
static char |
characterType(byte[] datagram,
int byteOffset,
EndianPolicy policy) |
static double |
doubleType(byte[] datagram,
int byteOffset) |
static double |
doubleType(byte[] datagram,
int byteOffset,
EndianPolicy policy) |
static float |
floatType(byte[] datagram,
int byteOffset) |
static float |
floatType(byte[] datagram,
int byteOffset,
EndianPolicy policy) |
static int |
integerType(byte[] datagram,
int byteOffset) |
static int |
integerType(byte[] datagram,
int byteOffset,
EndianPolicy policy) |
static long |
longType(byte[] datagram,
int byteOffset) |
static long |
longType(byte[] datagram,
int byteOffset,
EndianPolicy policy) |
static short |
shortType(byte[] datagram,
int byteOffset) |
static short |
shortType(byte[] datagram,
int byteOffset,
EndianPolicy policy) |
static String |
stringType(byte[] datagram,
int byteOffset,
int length) |
static String |
stringType(byte[] datagram,
int byteOffset,
int length,
Charset set) |
protected static BinaryDecoder binaryDecoder
protected static CharacterDecoder characterDecoder
protected static BooleanDecoder booleanDecoder
protected static ByteDecoder byteDecoder
protected static ShortDecoder shortDecoder
protected static IntegerDecoder integerDecoder
protected static LongDecoder longDecoder
protected static FloatDecoder floatDecoder
protected static DoubleDecoder doubleDecoder
protected static StringDecoder stringDecoder
public static byte[] binaryType(byte[] datagram,
int byteOffset,
int length)
public static char characterType(byte[] datagram,
int byteOffset)
public static char characterType(byte[] datagram,
int byteOffset,
EndianPolicy policy)
public static boolean booleanType(byte[] datagram,
int byteOffset,
int bitOffset)
public static byte byteType(byte[] datagram,
int byteOffset)
public static short shortType(byte[] datagram,
int byteOffset)
public static short shortType(byte[] datagram,
int byteOffset,
EndianPolicy policy)
public static int integerType(byte[] datagram,
int byteOffset)
public static int integerType(byte[] datagram,
int byteOffset,
EndianPolicy policy)
public static long longType(byte[] datagram,
int byteOffset)
public static long longType(byte[] datagram,
int byteOffset,
EndianPolicy policy)
public static float floatType(byte[] datagram,
int byteOffset)
public static float floatType(byte[] datagram,
int byteOffset,
EndianPolicy policy)
public static double doubleType(byte[] datagram,
int byteOffset)
public static double doubleType(byte[] datagram,
int byteOffset,
EndianPolicy policy)
public static String stringType(byte[] datagram, int byteOffset, int length)
Copyright © 2018–2021 Industrial Internet. All rights reserved.