[CDRIVER-151] Unfinish/Remove functions in BSON Created: 21/Jun/12  Updated: 09/Aug/13  Resolved: 09/Aug/13

Status: Closed
Project: C Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 0.8.1

Type: Improvement Priority: Trivial - P5
Reporter: Morten Kvistgaard Assignee: Gary Murakami
Resolution: Done Votes: 0
Labels: bson
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I'm using the bson module for a non-related project and a functionality that I'm really missing, is an option to "reopen" a finished bson.

Eg. I want to be able to add array entries or extra data etc. even if I've finished the bson.

I could also commit them to your trunk, if you like? (I've already added them in my own copy.)



 Comments   
Comment by Gary Murakami [ 09/Aug/13 ]

Included in the pull requests incorporated into this release.

Comment by Morten Kvistgaard [ 22/Jun/12 ]

I've been working a bit more with the bson and the finish/unfinish does not really need to be public. Just make all the "append" functions "unfinish" if needed and make all the "iterate" functions "finish" if needed. Simpler interface that way.

Also a "clear" function might be nice.

Generated at Wed Feb 07 21:08:36 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.