Class LittleEndian
java.lang.Object
de.wuespace.telestion.extension.mavlink.parsing.LittleEndian
- All Implemented Interfaces:
Parser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbyte
parseByte(byte[] raw)
char
parseChar(byte[] raw)
double
parseDouble(byte[] raw)
float
parseFloat(byte[] raw)
int
parseInt(byte[] raw)
long
parseLong(byte[] raw)
int
parseShort(byte[] raw)
int
parseUnsignedByte(byte[] raw)
long
parseUnsignedInt(byte[] raw)
long
parseUnsignedLong(byte[] raw)
int
parseUnsignedShort(byte[] raw)
-
Constructor Details
-
LittleEndian
public LittleEndian()
-
-
Method Details
-
parseByte
public byte parseByte(byte[] raw) -
parseUnsignedByte
public int parseUnsignedByte(byte[] raw)- Specified by:
parseUnsignedByte
in interfaceParser
-
parseShort
public int parseShort(byte[] raw)- Specified by:
parseShort
in interfaceParser
-
parseUnsignedShort
public int parseUnsignedShort(byte[] raw)- Specified by:
parseUnsignedShort
in interfaceParser
-
parseInt
public int parseInt(byte[] raw) -
parseUnsignedInt
public long parseUnsignedInt(byte[] raw)- Specified by:
parseUnsignedInt
in interfaceParser
-
parseLong
public long parseLong(byte[] raw) -
parseUnsignedLong
public long parseUnsignedLong(byte[] raw)- Specified by:
parseUnsignedLong
in interfaceParser
-
parseFloat
public float parseFloat(byte[] raw)- Specified by:
parseFloat
in interfaceParser
-
parseDouble
public double parseDouble(byte[] raw)- Specified by:
parseDouble
in interfaceParser
-
parseChar
public char parseChar(byte[] raw)
-