Table of Contents

Class ByteSerializer

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

Represents a serializer for Bytes.

public sealed 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.

Equals(object)

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

GetHashCode()

Serves as the default hash function.

Serialize(BsonSerializationContext, BsonSerializationArgs, byte)

Serializes a value.

WithRepresentation(BsonType)

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