public static PrefixFilter parseFrom(final byte[] pbBytes) throws DeserializationException {
    FilterProtos.PrefixFilter proto;
    try {
      proto = FilterProtos.PrefixFilter.parseFrom(pbBytes);
    } catch (InvalidProtocolBufferException e) {
      throw new DeserializationException(e);
    }
    return new PrefixFilter(proto.hasPrefix() ? proto.getPrefix().toByteArray() : null);
  }
Parse a serialized representation of {@link PrefixFilter}
@param pbBytes A pb serialized {@link PrefixFilter} instance
@return An instance of {@link PrefixFilter} made from <code>bytes</code>
@throws DeserializationException if an error occurred
@see #toByteArray
hbase-client/src/main/java/org/apache/hadoop/hbase/filter/PrefixFilter.java