BsonSerializer

Serializes to an in-memory BSON representation.

Constructors

this
this(Bson input)
Undocumented in source.
this
this(ubyte[] buffer)
Undocumented in source.

Postblit

this(this)
this(this)
Undocumented in source.

Members

Functions

beginWriteArray
void beginWriteArray(size_t )
Undocumented in source. Be warned that the author may not have intended to support it.
beginWriteArrayEntry
void beginWriteArrayEntry(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
beginWriteDictionary
void beginWriteDictionary()
Undocumented in source. Be warned that the author may not have intended to support it.
beginWriteDictionaryEntry
void beginWriteDictionaryEntry(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteArray
void endWriteArray()
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteArrayEntry
void endWriteArrayEntry(size_t idx)
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteDictionary
void endWriteDictionary()
Undocumented in source. Be warned that the author may not have intended to support it.
endWriteDictionaryEntry
void endWriteDictionaryEntry(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getSerializedResult
Bson getSerializedResult()
Undocumented in source. Be warned that the author may not have intended to support it.
readArray
void readArray(void delegate(size_t) size_callback, void delegate() entry_callback)
Undocumented in source. Be warned that the author may not have intended to support it.
readDictionary
void readDictionary(void delegate(string) entry_callback)
Undocumented in source. Be warned that the author may not have intended to support it.
readValue
T readValue()
Undocumented in source. Be warned that the author may not have intended to support it.
tryReadNull
bool tryReadNull()
Undocumented in source. Be warned that the author may not have intended to support it.
writeValue
void writeValue(T value)
Undocumented in source. Be warned that the author may not have intended to support it.

Templates

isSupportedValueType
template isSupportedValueType(T)
Undocumented in source.

See Also

vson.serialization.serialize, vson.serialization.deserialize, serializeToBson, deserializeBson

Meta