Function rs2_get_raw_data

Function Documentation

const unsigned char *rs2_get_raw_data(const rs2_raw_data_buffer *buffer, rs2_error **error)

Retrieve char array from rs2_raw_data_buffer

Parameters:
  • buffer[in] rs2_raw_data_buffer returned by rs2_send_and_receive_raw_data

  • error[out] if non-null, receives any error that occurs during this call, otherwise, errors are ignored

Returns:

raw data