pair<size_t, size_t> selection = hex_view_->get_selection();
vector<uint8_t> data;
+ data.resize(selection.second - selection.first + 1);
+
signal_->get_merged_binary_data_chunks_by_offset(current_segment_, decoder_,
bin_class_id_, selection.first, selection.second, &data);
pair<size_t, size_t> selection = hex_view_->get_selection();
vector<uint8_t> data;
+ data.resize(selection.second - selection.first + 1);
+
signal_->get_merged_binary_data_chunks_by_offset(current_segment_, decoder_,
bin_class_id_, selection.first, selection.second, &data);
void View::perform_delayed_view_update()
{
- if (!binary_data_exists_)
+ if (signal_ && !binary_data_exists_)
if (signal_->get_binary_data_chunk_count(current_segment_, decoder_, bin_class_id_))
binary_data_exists_ = true;