Class SByteSerializer
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for SBytes.
[CLSCompliant(false)]
public sealed class SByteSerializer : StructSerializerBase<sbyte>, IBsonSerializer<sbyte>, IBsonSerializer, IRepresentationConfigurable<SByteSerializer>, IRepresentationConfigurable, IHasRepresentationSerializer
- Inheritance
-
SByteSerializer
- Implements
- Inherited Members
- Extension Methods
Constructors
- SByteSerializer()
Initializes a new instance of the SByteSerializer class.
- SByteSerializer(BsonType)
Initializes a new instance of the SByteSerializer 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, sbyte)
Serializes a value.
- WithRepresentation(BsonType)
Returns a serializer that has been reconfigured with the specified representation.