chunker v0.12.0 Chunker.DiscBased View Source

Provides functions to create readeable or writeable, disc-based, chunked files.

Link to this section Summary

Functions

Returns a writeable or readeable chunked file

Link to this section Types

Link to this section Functions

Link to this function new(path, chunk_size \\ 1024 * 1024) View Source
new(bitstring(), integer()) :: t()

Returns a writeable or readeable chunked file.

If the first argument path does not point to an existing file, a new writeable chunked file is created. Otherwise opens the corresponding file for chunked reading. The second argument chunk_size sets the size of the individual chunks.