INT $buffer.length(BUFFER buffer)
.length() is a native method bound to $buffer, which returns the number of elements contained in a passed buffer. .length() can optionally be called on a buffer, as shown in the second example. Examples:
;$buffer.length(`[1,2,3])
=> 3
;`[1,2,3].length()
=> 3
.length() | .replace() | .subrange() | .to_string() | .to_strings() | .from_string() | .from_strings() | .to_veil_pkts() | .from_veil_pkts()