Skip to content

@lang:bytes.slice

Extract a byte range from a bytes value.

Returns: bytes

@lang:bytes.slice(value start end?)
NameTypeDescription
valuebytesInput value
startnumberStart index (inclusive)
[end]numberEnd index (exclusive)