Table of Contents

Struct BsonBinaryValue

Namespace
Shard.Codecs.Bson
Assembly
Shard.Codecs.dll

Owns a BSON binary payload together with its raw subtype byte.

public readonly record struct BsonBinaryValue : IEquatable<BsonBinaryValue>
Implements
Inherited Members

Constructors

BsonBinaryValue(ReadOnlyMemory<byte>, byte)

Owns a BSON binary payload together with its raw subtype byte.

public BsonBinaryValue(ReadOnlyMemory<byte> Bytes, byte Subtype)

Parameters

Bytes ReadOnlyMemory<byte>
Subtype byte

Properties

Bytes

public ReadOnlyMemory<byte> Bytes { get; init; }

Property Value

ReadOnlyMemory<byte>

Subtype

public byte Subtype { get; init; }

Property Value

byte