注意: 此页面尚未翻译成中文。以下内容为英文原版。
data
from the start
offset to the end
offset.
By default start
is 0 and end
is the length of data
.
Parameter | Type | Description |
---|---|---|
data | BytesLike | The data to slice. |
start ? | number | The start offset. |
end ? | number | The end offset. |
string
The sliced data.