We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1508a8 commit 50b643eCopy full SHA for 50b643e
dotnet/src/VectorData/SqliteVec/SqliteMapper.cs
@@ -57,7 +57,7 @@ public TRecord MapFromStorageToDataModel(DbDataReader reader, bool includeVector
57
58
var floats = new float[length / 4];
59
var bytes = MemoryMarshal.Cast<float, byte>(floats);
60
- stream.ReadExactly(bytes);
+ stream.ReadExactly([.. bytes]);
61
#else
62
var floats = MemoryMarshal.Cast<byte, float>((byte[])reader[ordinal]).ToArray();
63
#endif
0 commit comments