Class BsonBinaryReaderSettings
Represents settings for a BsonBinaryReader.
[Serializable]
public class BsonBinaryReaderSettings : BsonReaderSettings
- Inheritance
-
BsonBinaryReaderSettings
- Inherited Members
- Extension Methods
Constructors
BsonBinaryReaderSettings()
Initializes a new instance of the BsonBinaryReaderSettings class.
public BsonBinaryReaderSettings()
Properties
Defaults
Gets or sets the default settings for a BsonBinaryReader.
public static BsonBinaryReaderSettings Defaults { get; set; }
Property Value
Encoding
Gets or sets the Encoding.
public UTF8Encoding Encoding { get; set; }
Property Value
FixOldBinarySubTypeOnInput
Gets or sets whether to fix occurrences of the old binary subtype on input.
public bool FixOldBinarySubTypeOnInput { get; set; }
Property Value
FixOldDateTimeMaxValueOnInput
Gets or sets whether to fix occurrences of the old representation of DateTime.MaxValue on input.
public bool FixOldDateTimeMaxValueOnInput { get; set; }
Property Value
MaxDocumentSize
Gets or sets the max document size.
public int MaxDocumentSize { get; set; }
Property Value
Methods
Clone()
Creates a clone of the settings.
public BsonBinaryReaderSettings Clone()
Returns
- BsonBinaryReaderSettings
A clone of the settings.
CloneImplementation()
Creates a clone of the settings.
protected override BsonReaderSettings CloneImplementation()
Returns
- BsonReaderSettings
A clone of the settings.