Interface IValueReader

    • Method Detail

      • readValue

        java.lang.Object readValue​(byte[] bytes,
                                   Offset offset,
                                   long timestamp)
                            throws InvalidJfrFileException
        Reads an objects from a byte array starting at a given offset.
        Parameters:
        data - the data to read the object from
        offset - the offset to start read from. Will be moved to the end of the parsed data
        timestamp - the timestamp of the object to read
        Returns:
        the parsed object
        Throws:
        InvalidJfrFileException
      • getValueType

        ContentType<?> getValueType()
        Returns:
        the content type of the created objects