Class RawLogEntry

java.lang.Object
edu.wpi.first.util.datalog.DataLogEntry
edu.wpi.first.util.datalog.RawLogEntry

public class RawLogEntry
extends DataLogEntry
Log raw byte array values.
  • Field Details

  • Constructor Details

  • Method Details

    • append

      public void append​(byte[] value, long timestamp)
      Appends a record to the log.
      Parameters:
      value - Value to record; will send entire array contents
      timestamp - Time stamp (0 to indicate now)
    • append

      public void append​(byte[] value)
      Appends a record to the log.
      Parameters:
      value - Value to record; will send entire array contents
    • append

      public void append​(byte[] value, int start, int len, long timestamp)
      Appends a record to the log.
      Parameters:
      value - Data to record
      start - Start position of data (in byte array)
      len - Length of data (must be less than or equal to value.length - offset)
      timestamp - Time stamp (0 to indicate now)
    • append

      public void append​(byte[] value, int start, int len)
      Appends a record to the log.
      Parameters:
      value - Data to record
      start - Start position of data (in byte array)
      len - Length of data (must be less than or equal to value.length - offset)
    • append

      public void append​(ByteBuffer value, long timestamp)
      Appends a record to the log.
      Parameters:
      value - Data to record; will send from value.position() to value.capacity()
      timestamp - Time stamp (0 to indicate now)
    • append

      public void append​(ByteBuffer value)
      Appends a record to the log.
      Parameters:
      value - Data to record; will send from value.position() to value.capacity()
    • append

      public void append​(ByteBuffer value, int start, int len, long timestamp)
      Appends a record to the log.
      Parameters:
      value - Data to record
      start - Start position of data (in value buffer)
      len - Length of data (must be less than or equal to value.length - offset)
      timestamp - Time stamp (0 to indicate now)
    • append

      public void append​(ByteBuffer value, int start, int len)
      Appends a record to the log.
      Parameters:
      value - Data to record
      start - Start position of data (in value buffer)
      len - Length of data (must be less than or equal to value.length - offset)