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.

function libtmux-raku latest

Layout.decode-layout

Decode a declared dialect. Unknown versions retain bytes without a guessed tree.

Source and package
Qualified name
LibTmux::Layout.decode-layout
Module
LibTmux
Declared in
Layout
Package
LibTmux
Source
lib/LibTmux/Layout.rakumod
sub decode-layout(Str:D $raw, *%options --> Layout:D)sub decode-layout(Blob:D $raw, Str:D :$profile!, Str :$modal-pane-id, Positive:D :$max-bytes = 1024 * 1024, Positive:D :$max-depth = 64, Positive:D :$max-nodes = 10000 --> Layout:D)

Description#

Decode a declared dialect. Unknown versions retain bytes without a guessed tree.

Parameters
  • $raw (Str:D) # for decode-layout($raw, %options)

  • %options # for decode-layout($raw, %options)

  • $raw (Blob:D) # for decode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes)

  • $profile (Str:D) # for decode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes)

  • $modal-pane-id? (Str) # for decode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes)

  • $max-bytes? (Positive:D) # for decode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes)

  • $max-depth? (Positive:D) # for decode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes)

  • $max-nodes? (Positive:D) # for decode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes)

Esc

Type to search.

Reference previewOpen reference