public static BitComparator parseFrom(final byte[] pbBytes) throws DeserializationException {
    ComparatorProtos.BitComparator proto;
    try {
      proto = ComparatorProtos.BitComparator.parseFrom(pbBytes);
    } catch (InvalidProtocolBufferException e) {
      throw new DeserializationException(e);
    }
    BitwiseOp bitwiseOp = BitwiseOp.valueOf(proto.getBitwiseOp().name());
    return new BitComparator(proto.getComparable().getValue().toByteArray(), bitwiseOp);
  }
Parse a serialized representation of {@link BitComparator}
@param pbBytes A pb serialized {@link BitComparator} instance
@return An instance of {@link BitComparator} made from <code>bytes</code>
@throws DeserializationException if an error occurred
@see #toByteArray
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/BitComparator.java