Click or drag to resize

BsonStreamReadCString Method

Reads a BSON CString from the stream.

Namespace:  MongoDB.Bson.IO
Assembly:  MongoDB.Bson (in MongoDB.Bson.dll) Version: 2.22.0+75246110ed1247226fcc7f8eb2c54ffab745693e
Syntax
public abstract string ReadCString(
	UTF8Encoding encoding
)

Parameters

encoding
Type: System.TextUTF8Encoding
The encoding.

Return Value

Type: String
A string.
See Also