MongoDB.Bson.IO Namespace (original) (raw)

The MongoDB.Bson.IO namespace contains the types that allow reading and writing of BSON data.

| | Class | Description | | | ------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Public class | BsonBinaryReader | Represents a BSON reader for a binary BSON byte array. | | Public class | BsonBinaryReaderBookmark | Represents a bookmark that can be used to return a reader to the current position and state. | | Public class | BsonBinaryReaderSettings | Represents settings for a BsonBinaryReader. | | Public class | BsonBinaryWriter | Represents a BSON writer to a BSON Stream. | | Public class | BsonBinaryWriterSettings | Represents settings for a BsonBinaryWriter. | | Public class | BsonChunkPool | Represents a pool of chunks. | | Public class | BsonDocumentReader | Represents a BSON reader for a BsonDocument. | | Public class | BsonDocumentReaderBookmark | Represents a bookmark that can be used to return a reader to the current position and state. | | Public class | BsonDocumentReaderSettings | Represents settings for a BsonDocumentReader. | | Public class | BsonDocumentWriter | Represents a BSON writer to a BsonDocument. | | Public class | BsonDocumentWriterSettings | Represents settings for a BsonDocumentWriter. | | Public class | BsonReader | Represents a BSON reader for some external format (see subclasses). | | Public class | BsonReaderBookmark | Represents a bookmark that can be used to return a reader to the current position and state. | | Public class | BsonReaderSettings | Represents settings for a BsonReader. | | Public class | BsonStream | Represents a Stream has additional methods to suport reading and writing BSON values. | | Public class | BsonStreamAdapter | A Stream that wraps another Stream while implementing the BsonStream abstract methods. | | Public class | BsonStreamExtensions | Represents extension methods on BsonStream. | | Public class | BsonTrieTValue | Represents a mapping from a set of UTF8 encoded strings to a set of elementName/value pairs, implemented as a trie. | | Public class | BsonTrieNodeTValue | Represents a node in a BsonTrie. | | Public class | BsonWriter | Represents a BSON writer for some external format (see subclasses). | | Public class | BsonWriterSettings | Represents settings for a BsonWriter. | | Public class | ByteArrayBuffer | An IByteBuffer that is backed by a contiguous byte array. | | Public class | ByteArrayChunk | Represents a chunk backed by a byte array. | | Public class | ByteBufferFactory | Represents a factory for IBsonBuffers. | | Public class | ByteBufferSlice | Represents a slice of a byte buffer. | | Public class | ByteBufferStream | Represents a Stream backed by an IByteBuffer. Similar to MemoryStream but backed by an IByteBuffer instead of a byte array and also implements the BsonStream interface for higher performance BSON I/O. | | Public class | DateTimeJsonToken | Represents a DateTime JSON token. | | Public class | DoubleJsonToken | Represents a Double JSON token. | | Public class | IBsonReaderExtensions | Contains extensions methods for IBsonReader. | | Public class | IBsonWriterExtensions | Contains extension methods for IBsonWriter. | | Public class | InputBufferChunkSource | Represents a source of chunks optimized for input buffers. | | Public class | Int32JsonToken | Represents an Int32 JSON token. | | Public class | Int64JsonToken | Represents an Int64 JSON token. | | Public class | JsonConvert | Encodes and decodes scalar values to JSON compatible strings. | | Public class | JsonReader | Represents a BSON reader for a JSON string. | | Public class | JsonReaderBookmark | Represents a bookmark that can be used to return a reader to the current position and state. | | Public class | JsonReaderSettings | Represents settings for a JsonReader. | | Public class | JsonToken | Represents a JSON token. | | Public class | JsonWriter | Represents a BSON writer to a TextWriter (in JSON format). | | Public class | JsonWriterSettings | Represents settings for a JsonWriter. | | Public class | MultiChunkBuffer | An IByteBuffer that is backed by multiple chunks. | | Public class | NoOpElementNameValidator | Represents an element name validator that does no validation. | | Public class | ObjectIdJsonToken | Represents an ObjectId JSON token. | | Public class | OutputBufferChunkSource | Represents a source of chunks optimized for output buffers. | | Public class | RegularExpressionJsonToken | Represents a regular expression JSON token. | | Public class | SingleChunkBuffer | An IByteBuffer that is backed by a single chunk. | | Public class | StringJsonToken | Represents a String JSON token. | | Public class | TrieNameDecoderTValue | Represents a Trie-based name decoder that also provides a value. | | Public class | Utf8Encodings | Represents a singleton instance of a strict UTF8Encoding. | | Public class | Utf8Helper | Represents a class that has some helper methods for decoding UTF8 strings. | | Public class | Utf8NameDecoder | Represents a UTF8 name decoder. | | Public class | WrappingBsonWriter | An abstract base class for an IBsonWriter that wraps another IBsonWriter. |

| | Interface | Description | | | ------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------- | | Public interface | IBsonChunk | Represents a chunk of bytes. | | Public interface | IBsonChunkSource | Represents a source of chunks. | | Public interface | IBsonReader | Represents a BSON reader. | | Public interface | IBsonWriter | Represents a BSON writer. | | Public interface | IByteBuffer | Represents a byte buffer (backed by various means depending on the implementation). | | Public interface | IElementNameValidator | Represents an element name validator. Used by BsonWriters when WriteName is called to determine if the element name is valid. | | Public interface | INameDecoder | Represents a name decoder. | | Public interface | IStreamEfficientCopyTo | Represents the effective CopyTo method. |