Skip to documentation
SLOP

tiny.acp.ReaderLimits

Reference tiny.acp ReaderLimits

Defined in tiny.acp.

A caller chooses the longest line the reader must accept, so the reader's buffer size follows.

API (1)

Fields and members

Public fields and members.

No direct callersNo direct callstiny.acpReaderLimits
Static calls · unresolved targets: unknown · external targets: unknown.

Source

Source: lib/acp/src/reader/capacity.zig:7

zig
/// A caller chooses the longest line the reader must accept, so the reader's buffer size follows./// The structure holds one limit: the most bytes a line may hold before its newline. The package/// exports it as `acp.ReaderLimits`, `reader.Limits` and `Storage.Limits`. `reader.default_limits`/// sets 2 MiB.pub const Limits = struct {    /// The most bytes a line may hold before its newline. Zero is allowed and accepts only empty    /// lines.    message_bytes: usize,};

Source: lib/acp/src/root.zig:88

zig
pub const ReaderLimits = reader.Limits;

Also reachable as

reader.Limits.

Audit

Definitions1
Public names2
Members1
Version26.7.0
Revisiondaab053ee433