Table of Contents

Class BsonBinaryDataExtensions

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

Contains extensions methods for BsonBinaryData.

public static class BsonBinaryDataExtensions
Inheritance
BsonBinaryDataExtensions
Inherited Members

Methods

ToBinaryVectorAsArray<TItem>(BsonBinaryData)

Extracts binary vector data from BsonBinaryData as an array of TItem, padding and data type. The result bytes should be interpreted according to the vector data type.

ToBinaryVectorAsBytes(BsonBinaryData)

Extracts binary vector data from BsonBinaryData as bytes, padding and data type. The result bytes should be interpreted according to the vector data type.

ToBinaryVector<TItem>(BsonBinaryData)

Converts BsonBinaryData to BinaryVector<TItem>.