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.
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
Audit
| Definitions | 1 |
|---|---|
| Public names | 2 |
| Members | 1 |
| Version | 26.7.0 |
| Revision | daab053ee433 |