public byte encode(String string) {
      return (byte) encoder.encode(string);
    }
Variant of CommonStringEncoder based on byte rather than int for string indexing.
planetiler-core/src/main/java/com/onthegomap/planetiler/util/CommonStringEncoder.java