// Generated by https://github.com/foxglove/schemas

syntax = "proto3";

package foxglove;

// A field present within each element in a byte array of packed elements.
message PackedElementField {
  // Numeric type
  enum NumericType {
    UNKNOWN = 0;

    UINT8 = 1;

    INT8 = 2;

    UINT16 = 3;

    INT16 = 4;

    UINT32 = 5;

    INT32 = 6;

    FLOAT32 = 7;

    FLOAT64 = 8;
  }
  // Name of the field
  string name = 1;

  // Byte offset from start of data buffer
  fixed32 offset = 2;

  // Type of data in the field. Integers are stored using little-endian byte order.
  NumericType type = 3;
}
