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

Encoding selection, malformed-input policy and per-call work bound. More...

#include <document_encoding.hpp>

Public Attributes

DocumentEncoding explicitEncoding {DocumentEncoding::UNRESOLVED}
 Explicit choice, if any.
DocumentEncoding hint {DocumentEncoding::UNRESOLVED}
 Fallback when no explicit choice or BOM exists.
DocumentDecodePolicy policy {DocumentDecodePolicy::REPLACE}
 Malformed-input policy.
std::size_t workLimit {65536}
 Maximum input bytes admitted per call; must be nonzero.

Detailed Description

Encoding selection, malformed-input policy and per-call work bound.


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