Exemple #1
0
        public async Task <SortedList <long, int> > Get(long key)
        {
            var buffer = _db.Get(BitConverter.GetBytes(key));

            if (buffer != null)
            {
                return(await VectorOperations.DeserializeVectorAsync(0, new MemoryStream(buffer)));
            }

            return(null);
        }