• Parameters

    • arr: null | any[]

      the array to encode.

    • stream: OutputBinaryStream

      the stream.

    • encodeElementFunc: ((value: any, stream: OutputBinaryStream) => void)

      The function to encode a single array element.

        • (value, stream): void
        • Parameters

          • value: any
          • stream: OutputBinaryStream

          Returns void

    Returns void