bson v0.4.4 Bson.Encoder

Summary

Functions

Accumulate element in an element list

Creates a document for an array (list of items)

Creates a document using a collection of element, this is, a key-value pair

Returns encoded element using its name and value

Wraps a bson document with size and trailing null character

Wraps a bson document with size and trailing null character

Functions

accumulate_elist(name, value, elist)

Accumulate element in an element list

array(item_list)

Creates a document for an array (list of items)

document(element_list)

Creates a document using a collection of element, this is, a key-value pair

element(name, value)

Returns encoded element using its name and value

wrap_document(elist)

Wraps a bson document with size and trailing null character

wrap_string(string)

Wraps a bson document with size and trailing null character