Added functions to work with raw_data_buffer