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

Owning limits checked without silently truncating input or clusters. More...

#include <text.hpp>

Public Attributes

std::size_t max_input_bytes {1024 * 1024}
 Maximum input bytes; also bounded by PTRDIFF_MAX.
std::size_t max_cluster_bytes {64 * 1024}
 Maximum bytes in one extended grapheme cluster.
std::size_t max_graphemes {1024 * 1024}
 Maximum cluster records.
std::size_t max_cells {2 * 1024 * 1024}
 Maximum measured cells; additionally bounded by INT32_MAX.

Detailed Description

Owning limits checked without silently truncating input or clusters.


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