| 609 | } |
| 610 | |
| 611 | void BinaryParser::SetFilePosition(FilePosition fpos) noexcept |
| 612 | { |
| 613 | if (fpos == noFilePosition) |
| 614 | { |
| 615 | header->flags = (CodeFlags)(header->flags & ~CodeFlags::HasFilePosition); |
| 616 | } |
| 617 | else |
| 618 | { |
| 619 | header->filePosition = fpos; |
| 620 | header->flags = (CodeFlags)(header->flags | CodeFlags::HasFilePosition); |
| 621 | } |
| 622 | } |
| 623 | |
| 624 | const char* BinaryParser::DataStart() const noexcept |
| 625 | { |