#include <sol3/core/size_delimited_log_reader.h>
Read-only view of a single size-prefixed frame in the log file.
FrameView references memory that stays valid while the FrameView exists.
◆ FrameView()
| sol3::core::SizeDelimitedLogReader::FrameView::FrameView |
( |
| ) |
|
◆ offsetBytes()
| size_t sol3::core::SizeDelimitedLogReader::FrameView::offsetBytes |
( |
| ) |
const |
|
inline |
Byte offset of the frame within the file.
◆ span()
| flatbuffers::span<uint8_t const> sol3::core::SizeDelimitedLogReader::FrameView::span |
( |
| ) |
const |
|
inline |
Span that includes the size prefix and payload bytes only.
Layout: | uint32_t payload_size | payload bytes |. span().size() == sizeof(uint32_t) + payload_size.
◆ spanNoPrefix()
| flatbuffers::span<uint8_t const> sol3::core::SizeDelimitedLogReader::FrameView::spanNoPrefix |
( |
| ) |
const |
Span of the payload bytes (size prefix removed). Throws ReadErrorException if the prefix is invalid or truncated.
◆ Iterator
◆ SizeDelimitedLogReader
The documentation for this class was generated from the following file: