Table of Contents

Class VecBlob

Namespace
Qavren.Edge.Sqlite.Vec
Assembly
Qavren.Edge.Sqlite.dll

Encodes vectors the way sqlite-vec expects them: a little-endian float32 blob for float[N], a signed-byte blob for int8[N], and a bit-packed blob for bit[N].

public static class VecBlob
Inheritance
VecBlob
Inherited Members

Methods

From(ReadOnlySpan<float>)
FromBits(ReadOnlySpan<bool>)

Least significant bit first within each byte, matching vec_bit().

FromInt8(ReadOnlySpan<sbyte>)
ToBits(ReadOnlySpan<byte>)
ToFloats(ReadOnlySpan<byte>)
ToInt8(ReadOnlySpan<byte>)