BlockFile.create

Creates an empty BlockFile

class BlockFile
static
void
create
(
string filename
,,
immutable uint BLOCK_SIZE
,
string file_label = null
,
const uint max_size = 0x80
)

Parameters

filename string

File name of the blockfile

description string

this text will be written to the header

BLOCK_SIZE uint

set the block size of the underlying BlockFile.

file_label string

Used to set the type and version