C# Class Kernys.Bson.SimpleBSON

Afficher le fichier Open project: kernys/Kernys.Bson Class Usage Examples

Méthodes publiques

Méthode Description
Dump ( BSONObject obj ) : byte[]
Load ( byte buf ) : BSONObject

Private Methods

Méthode Description
SimpleBSON ( byte buf = null ) : System
decodeArray ( ) : BSONArray
decodeCString ( ) : string
decodeDocument ( ) : BSONObject
decodeElement ( string &name ) : BSONValue
decodeString ( ) : string
encodeArray ( MemoryStream ms, BSONArray lst ) : void
encodeBinary ( MemoryStream ms, byte buf ) : void
encodeBool ( MemoryStream ms, bool v ) : void
encodeCString ( MemoryStream ms, string v ) : void
encodeDocument ( MemoryStream ms, BSONObject obj ) : void
encodeDouble ( MemoryStream ms, double v ) : void
encodeElement ( MemoryStream ms, string name, BSONValue v ) : void
encodeInt32 ( MemoryStream ms, Int32 v ) : void
encodeInt64 ( MemoryStream ms, System.Int64 v ) : void
encodeString ( MemoryStream ms, string v ) : void
encodeUTCDateTime ( MemoryStream ms, System.DateTime dt ) : void

Method Details

Dump() public static méthode

public static Dump ( BSONObject obj ) : byte[]
obj BSONObject
Résultat byte[]

Load() public static méthode

public static Load ( byte buf ) : BSONObject
buf byte
Résultat BSONObject