Function: bytesAtOffset
Utils.bytesAtOffset
▸ bytesAtOffset<Length
>(data
, offset
, length
): Bytes
<Length
>
Return length
bytes starting from offset
Type parameters
Name | Type |
---|---|
Length | extends number |
Parameters
Name | Type | Description |
---|---|---|
data | Uint8Array | The original data |
offset | number | The offset to start from |
length | Length | The length of data to be returned |
Returns
Bytes
<Length
>