Interface IArrayElementParser<T>

    • Method Detail

      • readElement

        T readElement​(byte[] data,
                      Offset offset)
               throws InvalidJfrFileException
        Reads an objects from a byte array starting at a given offset.
        Parameters:
        data - the data to read the element from
        offset - the offset to start read from. Will be moved to the end of the parsed data
        Returns:
        the parsed element
        Throws:
        InvalidJfrFileException
      • createArray

        T[] createArray​(int length)
        Creates an array
        Parameters:
        length - the length of the array to create
        Returns: