ByteBufferStream Class |
Namespace: MongoDB.Bson.IO
The ByteBufferStream type exposes the following members.
| Name | Description | |
|---|---|---|
| ByteBufferStream |
Initializes a new instance of the ByteBufferStream class.
|
| Name | Description | |
|---|---|---|
| Buffer |
Gets the buffer.
| |
| CanRead | (Overrides StreamCanRead.) | |
| CanSeek | (Overrides StreamCanSeek.) | |
| CanTimeout | (Overrides StreamCanTimeout.) | |
| CanWrite | (Overrides StreamCanWrite.) | |
| Length | (Overrides StreamLength.) | |
| Position | (Overrides StreamPosition.) | |
| ReadTimeout | (Inherited from Stream.) | |
| WriteTimeout | (Inherited from Stream.) |
| Name | Description | |
|---|---|---|
| BeginRead | (Inherited from Stream.) | |
| BeginWrite | (Inherited from Stream.) | |
| Close | (Inherited from Stream.) | |
| CopyTo(Stream) | (Inherited from Stream.) | |
| CopyTo(Stream, Int32) | (Inherited from Stream.) | |
| CopyToAsync(Stream) | (Inherited from Stream.) | |
| CopyToAsync(Stream, Int32) | (Inherited from Stream.) | |
| CopyToAsync(Stream, Int32, CancellationToken) | (Inherited from Stream.) | |
| CreateObjRef | (Inherited from MarshalByRefObject.) | |
| CreateWaitHandle | Obsolete. (Inherited from Stream.) | |
| Dispose | (Inherited from Stream.) | |
| Dispose(Boolean) | Releases the unmanaged resources used by the ByteBufferStream and optionally releases the managed resources (Overrides StreamDispose(Boolean).) | |
| EndRead | (Inherited from Stream.) | |
| EndWrite | (Inherited from Stream.) | |
| Equals | (Inherited from Object.) | |
| Finalize | (Inherited from Object.) | |
| Flush | (Overrides StreamFlush.) | |
| FlushAsync | (Inherited from Stream.) | |
| FlushAsync(CancellationToken) | (Inherited from Stream.) | |
| GetHashCode | (Inherited from Object.) | |
| GetLifetimeService | (Inherited from MarshalByRefObject.) | |
| GetType | (Inherited from Object.) | |
| InitializeLifetimeService | (Inherited from MarshalByRefObject.) | |
| MemberwiseClone | (Inherited from Object.) | |
| MemberwiseClone(Boolean) | (Inherited from MarshalByRefObject.) | |
| ObjectInvariant | Obsolete. (Inherited from Stream.) | |
| Read | (Overrides StreamRead(Byte, Int32, Int32).) | |
| ReadAsync(Byte, Int32, Int32) | (Inherited from Stream.) | |
| ReadAsync(Byte, Int32, Int32, CancellationToken) | (Inherited from Stream.) | |
| ReadByte | (Overrides StreamReadByte.) | |
| ReadCString |
Reads a BSON CString from the stream.
(Overrides BsonStreamReadCString(UTF8Encoding).) | |
| ReadCStringBytes |
Reads a BSON CString from the stream.
(Overrides BsonStreamReadCStringBytes.) | |
| ReadDecimal128 |
Reads a BSON Decimal128 from the stream.
(Overrides BsonStreamReadDecimal128.) | |
| ReadDouble |
Reads a BSON double from the stream.
(Overrides BsonStreamReadDouble.) | |
| ReadInt32 |
Reads a 32-bit BSON integer from the stream.
(Overrides BsonStreamReadInt32.) | |
| ReadInt64 |
Reads a 64-bit BSON integer from the stream.
(Overrides BsonStreamReadInt64.) | |
| ReadObjectId |
Reads a BSON ObjectId from the stream.
(Overrides BsonStreamReadObjectId.) | |
| ReadSlice |
Reads a raw length prefixed slice from the stream.
(Overrides BsonStreamReadSlice.) | |
| ReadString |
Reads a BSON string from the stream.
(Overrides BsonStreamReadString(UTF8Encoding).) | |
| Seek | (Overrides StreamSeek(Int64, SeekOrigin).) | |
| SetLength | (Overrides StreamSetLength(Int64).) | |
| SkipCString |
Skips over a BSON CString leaving the stream positioned just after the terminating null byte.
(Overrides BsonStreamSkipCString.) | |
| ToString | (Inherited from Object.) | |
| Write | (Overrides StreamWrite(Byte, Int32, Int32).) | |
| WriteAsync(Byte, Int32, Int32) | (Inherited from Stream.) | |
| WriteAsync(Byte, Int32, Int32, CancellationToken) | (Inherited from Stream.) | |
| WriteByte | (Overrides StreamWriteByte(Byte).) | |
| WriteCString |
Writes a BSON CString to the stream.
(Overrides BsonStreamWriteCString(String).) | |
| WriteCStringBytes |
Writes the CString bytes to the stream.
(Overrides BsonStreamWriteCStringBytes(Byte).) | |
| WriteDecimal128 |
Writes a BSON Decimal128 to the stream.
(Overrides BsonStreamWriteDecimal128(Decimal128).) | |
| WriteDouble |
Writes a BSON double to the stream.
(Overrides BsonStreamWriteDouble(Double).) | |
| WriteInt32 |
Writes a 32-bit BSON integer to the stream.
(Overrides BsonStreamWriteInt32(Int32).) | |
| WriteInt64 |
Writes a 64-bit BSON integer to the stream.
(Overrides BsonStreamWriteInt64(Int64).) | |
| WriteObjectId |
Writes a BSON ObjectId to the stream.
(Overrides BsonStreamWriteObjectId(ObjectId).) | |
| WriteString |
Writes a BSON string to the stream.
(Overrides BsonStreamWriteString(String, UTF8Encoding).) |
| Name | Description | |
|---|---|---|
| BackpatchSize |
Backpatches the size.
(Defined by BsonStreamExtensions.) | |
| ReadBinarySubType |
Reads the binary sub type.
(Defined by BsonStreamExtensions.) | |
| ReadBoolean |
Reads a boolean from the stream.
(Defined by BsonStreamExtensions.) | |
| ReadBsonType |
Reads the BSON type.
(Defined by BsonStreamExtensions.) | |
| ReadBytes(Int32) | Overloaded.
Reads bytes from the stream.
(Defined by BsonStreamExtensions.) | |
| ReadBytes(Byte, Int32, Int32) | Overloaded.
Reads bytes from the stream.
(Defined by BsonStreamExtensions.) | |
| ToBson |
Serializes an object to a BSON byte array.
(Defined by BsonExtensionMethods.) | |
| ToBsonDocument |
Serializes an object to a BsonDocument.
(Defined by BsonExtensionMethods.) | |
| ToJson |
Serializes an object to a JSON string.
(Defined by BsonExtensionMethods.) | |
| WriteBinarySubType |
Writes a binary sub type to the stream.
(Defined by BsonStreamExtensions.) | |
| WriteBoolean |
Writes a boolean to the stream.
(Defined by BsonStreamExtensions.) | |
| WriteBsonType |
Writes a BsonType to the stream.
(Defined by BsonStreamExtensions.) | |
| WriteBytes |
Writes bytes to the stream.
(Defined by BsonStreamExtensions.) | |
| WriteSlice |
Writes a slice to the stream.
(Defined by BsonStreamExtensions.) |