Portals0.7.0 · dev (544a5c68c72e · 2026-11-28 UTC)
Loading...
Searching...
No Matches
portals::DocumentDecoderLocalResult Struct Reference

Owning local proof outcome; no input view or source owner is retained. More...

#include <document_encoding.hpp>

Public Attributes

DocumentDecoderLocalStatus status
 Unproven default, then proof/context/error.
std::optional< DocumentDecoderCheckpoint > checkpoint {}
 Present only for READY; caller qualifies the source revision.
std::uint64_t restartByteOffset {}
 Separate scalar-start projection for READY, or EOF for AT_END; never edits the anchor.
std::uint64_t errorOffset {}
 First byte of the selected malformed subpart for MALFORMED.
std::uint8_t errorLength {}
 Original-byte length of that malformed subpart, not a character count.

Detailed Description

Owning local proof outcome; no input view or source owner is retained.

Member Data Documentation

◆ status

DocumentDecoderLocalStatus portals::DocumentDecoderLocalResult::status
Initial value:
{
@ NEED_SUFFIX
More original bytes or confirmed EOF are required to resolve the selected scalar.
Definition document_encoding.hpp:96

Unproven default, then proof/context/error.


The documentation for this struct was generated from the following file: