private byte[] FullyQualifiedTable(RegionInfo reg) { if (reg.Namespace?.Any() != true) { return(reg.Table); } return(BinaryEx.ConcatInOrder(reg.Namespace, new[] { ConstByte.Colon }, reg.Table)); }
public static byte[] CreateRegionSearchKey(byte[] table, byte[] key) { var metaKey = BinaryEx.ConcatInOrder( table, new[] { ConstByte.Comma }, key, new[] { ConstByte.Comma }, new[] { ConstByte.Colon } ); return(metaKey); }