interface IArrayElementParser<T>
Modifier and Type | Method and Description |
---|---|
T[] |
createArray(int length)
Creates an array
|
T |
readElement(byte[] data,
Offset offset)
Reads an objects from a byte array starting at a given offset.
|
T readElement(byte[] data, Offset offset) throws InvalidJfrFileException
data
- the data to read the element fromoffset
- the offset to start read from. Will be moved to the end of the parsed dataInvalidJfrFileException
T[] createArray(int length)
length
- the length of the array to create