Example #1
0
    protected static String _decodeUTF8(NSCoder coder) {
      byte[] bytes = coder.decodeBytes();
      String result;
      try {
        result = new String(bytes, _UTF8StringEncoding);
      } catch (UnsupportedEncodingException exception) {
        throw NSForwardException._runtimeExceptionForThrowable(exception);
      }

      return result;
    }