unpack a numeric array (number[]) that is encoded in one of NumericArrayType byte representation. you must provide the array_length of the array being decoded, otherwise the decoder will unpack till the end of the buffer.

  • Parameters

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

    Returns Decoded<number[], number>