Function makeChunkSource

  • Create a chunk source, auto detecting input type.

    Use of this function is discouraged as it pulls in ChunkSource implementations not needed by your application. It's recommended to construct a ChunkSource implementation directly.

    Parameters

    Returns BufferChunkSource

  • Create a chunk source, auto detecting input type.

    Use of this function is discouraged as it pulls in ChunkSource implementations not needed by your application. It's recommended to construct a ChunkSource implementation directly.

    Parameters

    Returns BlobChunkSource

  • Create a chunk source, auto detecting input type.

    Use of this function is discouraged as it pulls in ChunkSource implementations not needed by your application. It's recommended to construct a ChunkSource implementation directly.

    Parameters

    • input: ReadableStream | AnyIterable<Uint8Array>
    • Optional opts: ChunkOptions

    Returns IterableChunkSource

Generated using TypeDoc