public static IFdbTuple ToTuple(this Slice slice)
        {
            if (slice.IsNullOrEmpty)
            {
                return(slice.HasValue ? FdbTuple.Empty : null);
            }

            return(FdbTuple.Unpack(slice));
        }
        public static IFdbTuple ToTupleOrDefault(this Slice slice)
        {
            //note: this method is here to allow a fluent API with method chaining, like "something.ToFoundationDbKey().ToTuple().With((int x, int y) => .....)"

            if (slice.IsNullOrEmpty)
            {
                return(slice.HasValue ? FdbTuple.Empty : null);
            }

            return(FdbTuple.Unpack(slice));
        }
 public IFdbTuple UnpackKey(Slice packed)
 {
     return(FdbTuple.Unpack(packed));
 }
 public static IFdbTuple ToTuple(this Slice slice)
 {
     //note: this method is here to allow a fluent API with method chaining, like "something.ToFoundationDbKey().ToTuple().With((int x, int y) => .....)"
     return(FdbTuple.Unpack(slice));
 }