public static boolean supported(int encoding) {
/*
    return encoding <= Encodings.encodingMax && createFns[encoding];
*/
    return (encoding == Encodings.encodingRaw ||
            encoding == Encodings.encodingRRE ||
            encoding == Encodings.encodingHextile ||
            encoding == Encodings.encodingTight ||
            encoding == Encodings.encodingZRLE);
  }