final class BooleanReader extends java.lang.Object implements IValueReader
Modifier and Type | Field and Description |
---|---|
static BooleanReader |
INSTANCE |
static int |
SIZE |
Constructor and Description |
---|
BooleanReader() |
Modifier and Type | Method and Description |
---|---|
ContentType<?> |
getValueType() |
static boolean |
readBoolean(byte[] bytes,
int offset) |
static boolean |
readBoolean(byte[] bytes,
Offset offset) |
java.lang.Object |
readValue(byte[] bytes,
Offset offset,
long timestamp)
Reads an objects from a byte array starting at a given offset.
|
public static final int SIZE
public static final BooleanReader INSTANCE
public java.lang.Object readValue(byte[] bytes, Offset offset, long timestamp) throws InvalidJfrFileException
IValueReader
readValue
in interface IValueReader
offset
- the offset to start read from. Will be moved to the end of the parsed datatimestamp
- the timestamp of the object to readInvalidJfrFileException
public static boolean readBoolean(byte[] bytes, Offset offset) throws InvalidJfrFileException
InvalidJfrFileException
public static boolean readBoolean(byte[] bytes, int offset)
public ContentType<?> getValueType()
getValueType
in interface IValueReader