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(Blob:D) # fordecode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes) -
$profile(Str:D) # fordecode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes) -
$modal-pane-id? (Str) # fordecode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes) -
$max-bytes? (Positive:D) # fordecode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes) -
$max-depth? (Positive:D) # fordecode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes) -
$max-nodes? (Positive:D) # fordecode-layout($raw, $profile, $modal-pane-id, $max-bytes, $max-depth, $max-nodes)