BlockFile.save

Allocates new document Does not actually update the BlockFile just reserves new block's

  1. const(BlockSegment*) save(const(Document) doc)
    class BlockFile
    const(BlockSegment*)
    save
    (
    const(Document) doc
    )
  2. const(BlockSegment*) save(T rec)

Parameters

doc const(Document)

Document to be reserved and allocated

Return Value

Type: const(BlockSegment*)

a pointer to the blocksegment.