Table of Contents

Class ByteArraySerializer

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

Represents a serializer for ByteArrays.

public sealed class ByteArraySerializer : SealedClassSerializerBase<byte[]>, IBsonSerializer<byte[]>, IBsonSerializer, IRepresentationConfigurable<ByteArraySerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
Inheritance
ByteArraySerializer
Implements
Inherited Members
Extension Methods

Constructors

ByteArraySerializer()

Initializes a new instance of the ByteArraySerializer class.

ByteArraySerializer(BsonType)

Initializes a new instance of the ByteArraySerializer class.

Properties

Instance

Gets a cached instance of a ByteArraySerializer.

Representation

Gets the representation.

Methods

DeserializeValue(BsonDeserializationContext, BsonDeserializationArgs)

Deserializes a value.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

SerializeValue(BsonSerializationContext, BsonSerializationArgs, byte[])

Serializes a value.

WithRepresentation(BsonType)

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