Click or drag to resize
MongoDB.Bson.IO Namespace
The MongoDB.Bson.IO namespace contains the types that allow reading and writing of BSON data.
Classes
  ClassDescription
Public classBsonBinaryReader
Represents a BSON reader for a binary BSON byte array.
Public classBsonBinaryReaderBookmark
Represents a bookmark that can be used to return a reader to the current position and state.
Public classBsonBinaryReaderSettings
Represents settings for a BsonBinaryReader.
Public classBsonBinaryWriter
Represents a BSON writer to a BSON Stream.
Public classBsonBinaryWriterSettings
Represents settings for a BsonBinaryWriter.
Public classBsonChunkPool
Represents a pool of chunks.
Public classBsonDocumentReader
Represents a BSON reader for a BsonDocument.
Public classBsonDocumentReaderBookmark
Represents a bookmark that can be used to return a reader to the current position and state.
Public classBsonDocumentReaderSettings
Represents settings for a BsonDocumentReader.
Public classBsonDocumentWriter
Represents a BSON writer to a BsonDocument.
Public classBsonDocumentWriterSettings
Represents settings for a BsonDocumentWriter.
Public classBsonReader
Represents a BSON reader for some external format (see subclasses).
Public classBsonReaderBookmark
Represents a bookmark that can be used to return a reader to the current position and state.
Public classBsonReaderSettings
Represents settings for a BsonReader.
Public classBsonStream
Represents a Stream has additional methods to suport reading and writing BSON values.
Public classBsonStreamAdapter
A Stream that wraps another Stream while implementing the BsonStream abstract methods.
Public classBsonStreamExtensions
Represents extension methods on BsonStream.
Public classBsonTrieTValue
Represents a mapping from a set of UTF8 encoded strings to a set of elementName/value pairs, implemented as a trie.
Public classBsonTrieNodeTValue
Represents a node in a BsonTrie.
Public classBsonWriter
Represents a BSON writer for some external format (see subclasses).
Public classBsonWriterSettings
Represents settings for a BsonWriter.
Public classByteArrayBuffer
An IByteBuffer that is backed by a contiguous byte array.
Public classByteArrayChunk
Represents a chunk backed by a byte array.
Public classByteBufferFactory
Represents a factory for IBsonBuffers.
Public classByteBufferSlice
Represents a slice of a byte buffer.
Public classByteBufferStream
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 classDateTimeJsonToken
Represents a DateTime JSON token.
Public classDoubleJsonToken
Represents a Double JSON token.
Public classIBsonReaderExtensions
Contains extensions methods for IBsonReader.
Public classIBsonWriterExtensions
Contains extension methods for IBsonWriter.
Public classInputBufferChunkSource
Represents a source of chunks optimized for input buffers.
Public classInt32JsonToken
Represents an Int32 JSON token.
Public classInt64JsonToken
Represents an Int64 JSON token.
Public classJsonConvert
Encodes and decodes scalar values to JSON compatible strings.
Public classJsonReader
Represents a BSON reader for a JSON string.
Public classJsonReaderBookmark
Represents a bookmark that can be used to return a reader to the current position and state.
Public classJsonReaderSettings
Represents settings for a JsonReader.
Public classJsonToken
Represents a JSON token.
Public classJsonWriter
Represents a BSON writer to a TextWriter (in JSON format).
Public classJsonWriterSettings
Represents settings for a JsonWriter.
Public classMultiChunkBuffer
An IByteBuffer that is backed by multiple chunks.
Public classNoOpElementNameValidator
Represents an element name validator that does no validation.
Public classObjectIdJsonToken
Represents an ObjectId JSON token.
Public classOutputBufferChunkSource
Represents a source of chunks optimized for output buffers.
Public classRegularExpressionJsonToken
Represents a regular expression JSON token.
Public classSingleChunkBuffer
An IByteBuffer that is backed by a single chunk.
Public classStringJsonToken
Represents a String JSON token.
Public classTrieNameDecoderTValue
Represents a Trie-based name decoder that also provides a value.
Public classUtf8Encodings
Represents a singleton instance of a strict UTF8Encoding.
Public classUtf8Helper
Represents a class that has some helper methods for decoding UTF8 strings.
Public classUtf8NameDecoder
Represents a UTF8 name decoder.
Interfaces
  InterfaceDescription
Public interfaceIBsonChunk
Represents a chunk of bytes.
Public interfaceIBsonChunkSource
Represents a source of chunks.
Public interfaceIBsonReader
Represents a BSON reader.
Public interfaceIBsonWriter
Represents a BSON writer.
Public interfaceIByteBuffer
Represents a byte buffer (backed by various means depending on the implementation).
Public interfaceIElementNameValidator
Represents an element name validator. Used by BsonWriters when WriteName is called to determine if the element name is valid.
Public interfaceINameDecoder
Represents a name decoder.
Enumerations
  EnumerationDescription
Public enumerationBsonReaderState
Represents the state of a reader.
Public enumerationBsonWriterState
Represents the state of a BsonWriter.
Public enumerationContextType
Used by BsonReaders and BsonWriters to represent the current context.
Public enumerationJsonOutputMode
Represents the output mode of a JsonWriter.
Public enumerationJsonTokenType
Represents a JSON token type.