public long CacheRange(long offset) { LongRange r = this.RangeCollection.BinarySearch(offset); if (r == null) return 0; else return r.End - offset; }