Class NumberReaders
- java.lang.Object
-
- org.openjdk.jmc.flightrecorder.internal.parser.v0.NumberReaders
-
class NumberReaders extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description NumberReaders()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static bytereadByte(byte[] bytes, Offset offset)(package private) static doublereadDouble(byte[] bytes, Offset offset)(package private) static floatreadFloat(byte[] bytes, Offset offset)(package private) static intreadInt(byte[] bytes, Offset offset)(package private) static longreadKey(byte[] data, Offset offset, DataType keyType)(package private) static longreadLong(byte[] bytes, Offset offset)(package private) static shortreadShort(byte[] bytes, Offset offset)
-
-
-
Method Detail
-
readLong
static long readLong(byte[] bytes, Offset offset) throws InvalidJfrFileException- Throws:
InvalidJfrFileException
-
readInt
static int readInt(byte[] bytes, Offset offset) throws InvalidJfrFileException- Throws:
InvalidJfrFileException
-
readByte
static byte readByte(byte[] bytes, Offset offset) throws InvalidJfrFileException- Throws:
InvalidJfrFileException
-
readShort
static short readShort(byte[] bytes, Offset offset) throws InvalidJfrFileException- Throws:
InvalidJfrFileException
-
readFloat
static float readFloat(byte[] bytes, Offset offset) throws InvalidJfrFileException- Throws:
InvalidJfrFileException
-
readDouble
static double readDouble(byte[] bytes, Offset offset) throws InvalidJfrFileException- Throws:
InvalidJfrFileException
-
readKey
static long readKey(byte[] data, Offset offset, DataType keyType) throws InvalidJfrFileException- Throws:
InvalidJfrFileException
-
-