Format.FrameDecoder
Incremental LF framing over bytes with terminal failure and explicit limits.
Source and package
- Qualified name
-
LibTmux:: Format:: Frame Decoder - Module
- LibTmux
- Declared in
Format- Package
- LibTmux
- Source
- lib/LibTmux/Format.rakumod
-
Description#
Incremental LF framing over bytes with terminal failure and explicit limits.
Members8#
- clone method A new stream needs a new decoder; buffered state cannot be shallow-copied.
- feed method Yield complete decoded rows eagerly; incomplete bytes remain owned here.
- finish method Close successfully only on a complete record boundary.
- max-buffer-bytes: Positive:D property Maximum incomplete record bytes retained between feed calls.
- max-bytes: Positive:D property Maximum cumulative response bytes accepted by this decoder.
- max-field-bytes: Positive:D property Maximum encoded field size in bytes.
- max-rows: Positive:D property Maximum complete records accepted before finish.
- projection: Projection:D property Declared projection used to frame and decode every accepted record.