protected static String newUtf8()

in bijection-core/src/main/java/com/twitter/bijection/codec/BaseNCodec.java [309:316]


    protected static String newUtf8(final byte[] bytes) {
      try {
        return bytes == null ? null : new String(bytes, "UTF-8");
      }
      catch(UnsupportedEncodingException uee) {
        throw new RuntimeException("UTF-8 Not supported on this platform");
      }
    }