From 3f1c8998166466245aee2860197fb4908e55f1a2 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Wed, 8 Oct 2008 16:17:26 +0000 Subject: Ok...corrected a problem with new block allocation in nids, and it no longer goes into an infinite loop while doing certain kinds of read. Also, it zeros out new blocks to make things easier to cope with in the hex editor, it'll probably also compress better. I also fixed Bu::MemBuf so that you can now write to arbitrary places mid-stream. --- src/membuf.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'src/membuf.h') diff --git a/src/membuf.h b/src/membuf.h index b728f38..15686e9 100644 --- a/src/membuf.h +++ b/src/membuf.h @@ -29,11 +29,6 @@ namespace Bu virtual void close(); virtual size_t read( void *pBuf, size_t nBytes ); - /** - *@todo Allow writes at the current position, not just appending to - * the current buffer. This is a silly way to do it, but it covers all - * of our bases for now. - */ virtual size_t write( const void *pBuf, size_t nBytes ); using Stream::write; virtual long tell(); -- cgit v1.2.3