code: static byte[] getCodecNameUTF8(String compressionCodecName) {
      byte[] codecNameBytes = CODEC_NAME_CACHE.get(compressionCodecName);
      if (codecNameBytes == null) {
        try {
          codecNameBytes = compressionCodecName.getBytes("UTF-8");
        } catch (UnsupportedEncodingException e) {
          throw new RuntimeException(e);
        }
        CODEC_NAME_CACHE.put(compressionCodecName, codecNameBytes);
      }
      return codecNameBytes;
    }
docs: Convert from String to UTF8 byte array.