Class BinaryVectorSerializerBase<TItemContainer, TItem>
- Namespace
- MongoDB.Bson.Serialization.Serializers
- Assembly
- MongoDB.Bson.dll
Represents a serializer for TItemContainer values represented as a BinaryVector.
public abstract class BinaryVectorSerializerBase<TItemContainer, TItem> : SerializerBase<TItemContainer>, IBsonSerializer<TItemContainer>, IBsonSerializer where TItem : struct
Type Parameters
TItemContainer
The items container, for example BinaryVector<TItem> or Memory<T>.
TItem
The .NET data type.
- Inheritance
-
SerializerBase<TItemContainer>BinaryVectorSerializerBase<TItemContainer, TItem>
- Implements
-
IBsonSerializer<TItemContainer>
- Derived
- Inherited Members
- Extension Methods
Properties
- VectorDataType
Gets the type of the vector data.
Methods
- Equals(object)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
- ReadAndValidateBsonBinaryData(IBsonReader)
Reads bson binary data.