/// <summary>Return a key range that contains all the keys in a sub-partition of this subspace</summary>
 public virtual KeyRange ToRange(ReadOnlySpan <byte> suffix)
 {
     return(KeyRange.StartsWith(Append(suffix)));
 }
 public virtual (Slice Begin, Slice End) ToRange(Slice prefix)
 {
     return(KeyRange.StartsWith(prefix));
 }
 internal KeySubspace(Slice prefix, ISubspaceContext context)
 {
     this.Key     = prefix;
     this.Range   = KeyRange.StartsWith(prefix);
     this.Context = context ?? throw new ArgumentNullException(nameof(context));
 }
 public virtual KeyRange ToRange(Slice suffix)
 {
     return(KeyRange.StartsWith(this[suffix]));
 }
 internal KeySubspace(Slice prefix)
 {
     this.Key   = prefix;
     this.Range = KeyRange.StartsWith(prefix);
 }
 public virtual KeyRange ToRange(Slice suffix)
 {
     return(KeyRange.StartsWith(ConcatKey(suffix)));
 }
 public virtual KeyRange ToRange(Slice prefix)
 {
     return(KeyRange.StartsWith(prefix));
 }