Module BSON::Grow
In: lib/bson/grow.rb

Methods

array   array!   b_do   b_do!   b_end   b_end!   clear!   doc   doc!   finish!   finish_one!   grow   grow!   push   push!   push_doc   push_doc!   to_e   to_t   to_v   unfinish!  

Public Instance methods

module with methods to grow BSON docs/objects/arrays this module is intended for internal use and is subject to change proper usage is essential as minimal overhead is preferred over usage checks unfinish! returns unfinished BSON for faster growing with bang! methods bang! methods work on unfinished BSON with neither terminating nulls nor proper sizes finish! must be called to finish BSON after using bang! methods corresponding non-bang methods work on finished BSON object/array methods should be paired, ex., array!/b_end! and array/b_end push!/push and push_doc!/push_doc append to arrays with correct keys b_end needs a better name

[Validate]