#include <kernel_binary.h>
Definition at line 550 of file kernel_binary.h.
◆ AlternativeReadingScopeWithNewData()
dart::kernel::AlternativeReadingScopeWithNewData::AlternativeReadingScopeWithNewData |
( |
Reader * |
reader, |
|
|
const TypedDataBase * |
new_typed_data, |
|
|
intptr_t |
new_position |
|
) |
| |
|
inline |
Definition at line 552 of file kernel_binary.h.
555 : reader_(reader),
556 saved_size_(reader_->size_),
557 saved_raw_buffer_(reader_->raw_buffer_),
558 saved_typed_data_(reader_->typed_data_),
559 saved_offset_(reader_->offset_) {
560 reader_->typed_data_ = new_typed_data;
561 reader_->Init();
562 reader_->offset_ = new_position;
563 }
◆ ~AlternativeReadingScopeWithNewData()
dart::kernel::AlternativeReadingScopeWithNewData::~AlternativeReadingScopeWithNewData |
( |
| ) |
|
|
inline |
Definition at line 565 of file kernel_binary.h.
565 {
566 reader_->raw_buffer_ = saved_raw_buffer_;
567 reader_->typed_data_ = saved_typed_data_;
568 reader_->size_ = saved_size_;
569 reader_->offset_ = saved_offset_;
570 }
◆ saved_offset()
intptr_t dart::kernel::AlternativeReadingScopeWithNewData::saved_offset |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: