Low-level unsafe dump read/write helpers.
Definition in file unsafe.hpp.
Go to the source code of this file.
Namespaces | |
| namespace | dump |
| Dumping of cache-like components. | |
Functions | |
| void | dump::WriteStringViewUnsafe (Writer &writer, std::string_view value) |
| Writes a non-size-prefixed std::string_view. | |
| std::string_view | dump::ReadStringViewUnsafe (Reader &reader) |
| Reads a std::string_view. | |
| std::string_view | dump::ReadStringViewUnsafe (Reader &reader, std::size_t size) |
| Reads a non-size-prefixed std::string_view. | |
| std::string_view | dump::ReadUnsafeAtMost (Reader &reader, std::size_t max_size) |
| Reads a std::string_view. | |
| void | dump::BackUpReadUnsafe (Reader &reader, std::size_t size) |
| Moves the internal cursor back by size bytes so that the next call to ReadUnsafeAtMost returns the same data again. | |