Function encode_number_array
- encode_number_array(value, ...args): Uint8Array
Parameters
- value: number[]
Rest
...args: [type:
| "u1[]"
| "i1[]"
| "u1c[]"
| "u2l[]"
| "u2b[]"
| "u4l[]"
| "u4b[]"
| "i2l[]"
| "i2b[]"
| "i4l[]"
| "i4b[]"
| "f4l[]"
| "f4b[]"
| "f8l[]"
| "f8b[]"]
Returns Uint8Array
pack a numeric array (
number[]
) in the provided NumericArrayType byte representation