#ifndef C_API_SENSOR_MSGS_IMAGE_H
#define C_API_SENSOR_MSGS_IMAGE_H

#ifdef __cplusplus
extern "C" {
#endif

#include <stdint.h>
#include <stddef.h>
#include "std_msgs/Header.h"

typedef struct
{
  Header header;
  uint32_t height;
  uint32_t width;
  char *encoding;
  uint8_t is_bigendian;
  uint32_t step;
  uint8_t *data;
  size_t data_count;
} Image;

#ifdef __cplusplus
}
#endif

#endif // C_API_SENSOR_MSGS_IMAGE_H
