natix.CompactDS.CompressedInvertedIndex.Decompress C# (CSharp) Method

Decompress() public method

public Decompress ( List list, int symbol ) : void
list List
symbol int
return void
        public void Decompress(List<long> list, int symbol)
        {
            var m = this.lengths [symbol];
            var ctx = new OctetStream.Context (this.offsets [symbol]);
            this.lstream.Decompress (list, ctx, m);

            for (int i = 1; i < list.Count; ++i) {
                list [i] += list [i - 1];
            }
        }