Method | Description | |
---|---|---|
BsonWriter ( Stream stream ) : System | ||
CalculateSize ( Document doc ) : int | ||
CalculateSize ( IEnumerable arr ) : int | ||
CalculateSize ( Object val ) : int | ||
CalculateSize ( String val ) : int | ||
CalculateSize ( String val, bool includeLen ) : int | ||
Flush ( ) : void | ||
Write ( Document doc ) : void | ||
WriteArray ( IEnumerable arr ) : void | ||
WriteString ( String str ) : void | ||
WriteValue ( BsonDataType dt, Object obj ) : void |
Method | Description | |
---|---|---|
TranslateToBsonType ( Object val ) : BsonDataType |
public CalculateSize ( IEnumerable arr ) : int | ||
arr | IEnumerable | |
return | int |
public CalculateSize ( String val, bool includeLen ) : int | ||
val | String | |
includeLen | bool | |
return | int |
protected TranslateToBsonType ( Object val ) : BsonDataType | ||
val | Object | |
return | BsonDataType |
public WriteValue ( BsonDataType dt, Object obj ) : void | ||
dt | BsonDataType | |
obj | Object | |
return | void |