Struct BSONBinary
Represents a BSON bynary type
Implements
Inherited Members
System.ValueType.Equals(System.Object)
System.ValueType.GetHashCode()
System.ValueType.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Azos.Serialization.BSON
Assembly: Azos.dll
Syntax
public struct BSONBinary : IJSONWritable
Constructors
BSONBinary(BSONBinaryType, Byte[])
Declaration
public BSONBinary(BSONBinaryType type, byte[] data)
Parameters
Type | Name | Description |
---|---|---|
BSONBinaryType | type | |
System.Byte[] | data |
Fields
Data
Declaration
public readonly byte[] Data
Field Value
Type | Description |
---|---|
System.Byte[] |
Type
Declaration
public readonly BSONBinaryType Type
Field Value
Type | Description |
---|---|
BSONBinaryType |
Methods
WriteAsJSON(TextWriter, Int32, JSONWritingOptions)
Declaration
public void WriteAsJSON(TextWriter wri, int nestingLevel, JSONWritingOptions options = null)
Parameters
Type | Name | Description |
---|---|---|
System.IO.TextWriter | wri | |
System.Int32 | nestingLevel | |
JSONWritingOptions | options |