Add BLB_write function to allow modification of data in a BLOB#9066
Add BLB_write function to allow modification of data in a BLOB#9066Noremos wants to merge 9 commits into
Conversation
|
Whats wrong or not enough with seek + putSegment ? |
|
So why not make it work with |
Initially, I wanted to implement the same read/write interface as for TempSpace. But I can do this within the |
You still speak about blobs here ?
I'm lost your point here, sorry. How it answers on my question ? |
|
BTW, code in blb.cpp (at least) requires comments. It have |
|
Why is |
I meant that the TempSpace class has convenient read/write functions with the ability to specify a position, so it would be great to have the same function for blobs at some point. As for So now |
Sorry, forgot to delete this file after the branch checkout. |
|
If you say |
|
Do new methods of |
Added description of modification algorithm: |
Added as suggested |
|
Don't get me wrong - the code itself is not bad, but it is very hard to read, understand and verify. |
…r pages and correct style for new functions
This PR is part of the JSON implementation. Efficiently writing binary JSON requires modifying a blob. Otherwise, TempSpace is required to use it and convert the data to a blob, significantly increasing overhead.
Additions: