@lang:bytes.slice
Extract a byte range from a bytes value.
Returns: bytes
Syntax
Section titled “Syntax”@lang:bytes.slice(value start end?)Arguments
Section titled “Arguments”| Name | Type | Description |
|---|---|---|
value | bytes | Input value |
start | number | Start index (inclusive) |
[end] | number | End index (exclusive) |