pack a numeric array (number[]) in the provided NumericArrayType byte representation.

  • Parameters

    • value: number[]
    • ...args: [
          type: | "u1[]"
          | "i1[]"
          | "u1c[]"
          | "u2l[]"
          | "u2b[]"
          | "u4l[]"
          | "u4b[]"
          | "i2l[]"
          | "i2b[]"
          | "i4l[]"
          | "i4b[]"
          | "f4l[]"
          | "f4b[]"
          | "f8l[]"
          | "f8b[]",
      ]

    Returns Uint8Array