@Override
  public int encode(PositionedByteRange dst, String val) {
    byte[] s = Bytes.toBytes(val);
    order.apply(s);
    dst.put(s);
    return s.length;
  }
Creates a new {@link DataType} for interacting with values encoded using
{@link Bytes#toBytes(String)}.
@param order the {@link Order} to use
hbase-common/src/main/java/org/apache/hadoop/hbase/types/RawString.java