Interface Encoder<E>

    • Method Detail

      • headerBytes

        byte[] headerBytes()
        Deprecated.
        Get header bytes. This method is typically called upon opening of an output stream.
        Returns:
        header bytes. Null values are allowed.
      • encode

        byte[] encode​(E event)
        Deprecated.
        Encode an event as bytes.
        Parameters:
        event -
      • footerBytes

        byte[] footerBytes()
        Deprecated.
        Get footer bytes. This method is typically called prior to the closing of the stream where events are written.
        Returns:
        footer bytes. Null values are allowed.