Function: flexBytesAtOffset
Utils.flexBytesAtOffset
▸ flexBytesAtOffset<Min
, Max
>(data
, offset
, _min
, _max
): FlexBytes
<Min
, Max
>
Return flex bytes starting from offset
Type parameters
Name | Type |
---|---|
Min | extends number |
Max | extends number |
Parameters
Name | Type | Description |
---|---|---|
data | Uint8Array | The original data |
offset | number | The offset to start from |
_min | Min | The minimum size of the data |
_max | Max | The maximum size of the data |
Returns
FlexBytes
<Min
, Max
>