Core Library0.xAPI Reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

class libtmux-raku latest

Format.FrameDecoder

Incremental LF framing over bytes with terminal failure and explicit limits.

Source and package
Qualified name
LibTmux::Format::FrameDecoder
Module
LibTmux
Declared in
Format
Package
LibTmux
Source
lib/LibTmux/Format.rakumod
Anonymous class

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.
Esc

Type to search.

Reference previewOpen reference