Skip to content

Latest commit

 

History

History
52 lines (40 loc) · 1.1 KB

File metadata and controls

52 lines (40 loc) · 1.1 KB
title bytes length
categories bytes
version 0.107.0
bytes Output the length of any bytes in the pipeline.
usage Output the length of any bytes in the pipeline.
editLink false
contributors false

bytes length for bytes

Output the length of any bytes in the pipeline.

Signature

> bytes length {flags} ...rest

Parameters

  • ...rest: For a data structure input, find the length of data at the given cell paths.

Input/output types:

input output
binary int
list<binary> list<int>
table table
record record

Examples

Return the length of a binary

> 0x[1F FF AA AB] | bytes length
4

Return the lengths of multiple binaries

> [0x[1F FF AA AB] 0x[1F]] | bytes length
╭───┬───╮
│ 04 │
│ 11 │
╰───┴───╯