Table of Contents

Class ByteSerializer

Namespace
MongoDB.Bson.Serialization.Serializers
Assembly
MongoDB.Bson.dll

Represents a serializer for Bytes.

public class ByteSerializer : StructSerializerBase<byte>, IBsonSerializer<byte>, IBsonSerializer, IRepresentationConfigurable<ByteSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
Inheritance
ByteSerializer
Implements
Inherited Members
Extension Methods

Constructors

ByteSerializer()

Initializes a new instance of the ByteSerializer class.

ByteSerializer(BsonType)

Initializes a new instance of the ByteSerializer class.

Properties

Representation

Gets the representation.

Methods

Deserialize(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Serialize(BsonSerializationContext, BsonSerializationArgs, byte)

Serializes a value.

WithRepresentation(BsonType)

Returns a serializer that has been reconfigured with the specified representation.