Struct CDBMake
cdb
pub struct CDBMake { /* fields omitted */ }
Base interface for making a CDB file.
impl CDBMake
fn new(file: File) -> Result<CDBMake>
Create a new CDB maker.
fn add(&mut self, key: &[u8], data: &[u8]) -> Result<()>
Add a record to the CDB file.
fn finish(&mut self) -> Result<()>
Finish writing to the CDB file and flush its contents.