Function rs2_get_raw_data_size

Function Documentation

int rs2_get_raw_data_size(const rs2_raw_data_buffer *buffer, rs2_error **error)

get the size of rs2_raw_data_buffer

Parameters:
  • buffer[in] pointer to 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:

size of rs2_raw_data_buffer