Function writeArray

  • Write the length of an array with ARRAY major type, then each of the items in the array. Writes undefined for holes in the array.

    Parameters

    • obj: unknown

      Array.

    • w: Writer

      Writer.

    • opts: Required

      Options.

    Returns undefined