Exemple #1
0
 private static String newStringFromUTF8(byte[] buf) {
   return RubyEncoding.decodeUTF8(buf);
 }
Exemple #2
0
 private static String newStringFromUTF8(byte[] buf, int offset, int len) {
   return RubyEncoding.decodeUTF8(buf, offset, len);
 }