int db::BlobField::truncate ( db_len_t  pos  ) 

Truncate BLOB (Binary Large OBject) field to pos.

Parameters:
pos The pos to reduce the BLOB to in bytes.
Returns:
size of BLOB in bytes when successful
See also:
BlobField::write, BlobField::write_final, BlobField::read, BlobField::size


Copyright © 2005-2008 ITTIA®. All rights reserved.