Searched defs:utfSize (Results 1 - 2 of 2) sorted by relevance

/libcore/luni/src/main/java/java/nio/charset/
H A DModifiedUtf8.java35 public static String decode(byte[] in, char[] out, int offset, int utfSize) throws UTFDataFormatException { argument
37 while (count < utfSize) {
41 if (count >= utfSize) {
50 if (count + 1 >= utfSize) {
/libcore/luni/src/main/java/java/io/
H A DDataInputStream.java172 String decodeUTF(int utfSize) throws IOException { argument
173 return decodeUTF(utfSize, this);
176 private static String decodeUTF(int utfSize, DataInput in) throws IOException { argument
177 byte[] buf = new byte[utfSize];
178 in.readFully(buf, 0, utfSize);
179 return ModifiedUtf8.decode(buf, new char[utfSize], 0, utfSize);

Completed in 167 milliseconds