Interface LogBuffer<D>

  • Type Parameters:
    D - data type
    All Known Implementing Classes:
    LogEventBuffer, StringLogBuffer

    public interface LogBuffer<D>
    Buffer for capturing data into another data type
    • Method Detail

      • isEmpty

        boolean isEmpty()
        Returns:
        true if empty
      • reset

        void reset()
        reset buffer
      • write

        void write​(byte b)
        write a byte
        Parameters:
        b - data
      • clear

        void clear()
        Clear the buffer
      • get

        D get()
        Returns:
        result datatype