Bson.Encoder

Source

Summary

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

Functions

accumulate_elist(name, value, elist)

Accumulate element in an element list

Source
array(item_list)

Creates a document for an array (list of items)

Source
document(element_list)

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

Source
element(name, value)

Returns encoded element using its name and value

Source
wrap_document(elist)

Wraps a bson document with size and trailing null character

Source
wrap_string(string)

Wraps a bson document with size and trailing null character

Source