Commit Graph

15 Commits

Author SHA1 Message Date
Sebastian Messmer
dd80ab8d4d Add Blob::tryRead() 2015-03-11 01:04:48 +01:00
Sebastian Messmer
11930a8363 Added an assertion to read() 2015-03-08 03:50:42 +01:00
Sebastian Messmer
2bfc872088 Fix Blob::read()/write() and write test cases for it 2015-03-06 20:40:23 +01:00
Sebastian Messmer
a9c44a40ed Fix Blob::write() and add some test cases for it 2015-03-06 16:08:30 +01:00
Sebastian Messmer
75d1ef11fe Fixed loading nonexisting blobs and wrote more test cases 2015-03-06 02:21:31 +01:00
Sebastian Messmer
3a01f95467 Adapt to new blockstore which has Block::write() instead of writeable Block::data() pointer 2015-03-04 20:58:39 +01:00
Sebastian Messmer
b43464d669 Allow writing out of the bounds of a blob, resize blob in this case 2015-03-04 03:29:22 +01:00
Sebastian Messmer
5fb235a40c Removed DataTree::addDataLeaf() / DataTree::removeLastDataLeaf() and DataTree::flush() 2015-03-04 03:17:59 +01:00
Sebastian Messmer
8dd0275c75 Add Blob::key() 2015-02-27 00:18:26 +01:00
Sebastian Messmer
c978a4581a Simplified read/write implementation 2015-02-26 20:23:37 +01:00
Sebastian Messmer
a44b6318e2 - Refactor math functions for reuse (and write test cases for them)
- Implemented BlobOnBlocks::read() and write(). Not tested yet.
2015-02-26 20:19:12 +01:00
Sebastian Messmer
4e8e4ea3d3 Implemented DataTree::resizeNumBytes(). No test cases yet. 2015-02-26 17:33:47 +01:00
Sebastian Messmer
61ec7dedb8 BlobOnBlocks::size() works correctly 2015-02-25 23:09:48 +01:00
Sebastian Messmer
0f40619a4a BlobOnBlocks stores DataTrees, not DataNodes 2015-02-25 22:48:39 +01:00
Sebastian Messmer
3350e9368a Switch to biicode 2015-02-17 00:40:34 +01:00