Searched defs:readFully (Results 1 - 9 of 9) sorted by relevance

/libcore/luni/src/main/java/libcore/io/
H A DStreams.java59 public static void readFully(InputStream in, byte[] dst) throws IOException { method in class:Streams
60 readFully(in, dst, 0, dst.length);
67 * Used to implement {@link java.io.DataInputStream#readFully(byte[], int, int)}.
69 public static void readFully(InputStream in, byte[] dst, int offset, int byteCount) throws IOException { method in class:Streams
93 public static byte[] readFully(InputStream in) throws IOException { method in class:Streams
117 public static String readFully(Reader reader) throws IOException { method in class:Streams
H A DIoUtils.java107 return new FileReader(absolutePath).readFully().toByteArray();
114 return new FileReader(absolutePath).readFully().toString(StandardCharsets.UTF_8);
230 public FileReader readFully() throws IOException { method in class:IoUtils.FileReader
/libcore/luni/src/test/etc/loading-test-jar/
H A DTestMethods.java66 public static byte[] readFully(InputStream in) throws IOException { method in class:TestMethods
129 byte[] contents = readFully(in);
185 byte[] contents = readFully(in);
/libcore/luni/src/main/java/java/io/
H A DDataInput.java110 * Equivalent to {@code readFully(dst, 0, dst.length);}.
112 public abstract void readFully(byte[] dst) throws IOException; method in interface:DataInput
140 public abstract void readFully(byte[] dst, int offset, int byteCount) throws IOException; method in interface:DataInput
H A DDataInputStream.java94 public final void readFully(byte[] dst) throws IOException { method in class:DataInputStream
95 readFully(dst, 0, dst.length);
98 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:DataInputStream
99 Streams.readFully(in, dst, offset, byteCount);
103 Streams.readFully(in, scratch, 0, SizeOf.INT);
147 Streams.readFully(in, scratch, 0, SizeOf.LONG);
152 Streams.readFully(in, scratch, 0, SizeOf.SHORT);
178 in.readFully(buf, 0, utfSize);
H A DRandomAccessFile.java264 * has been reached. See also {@link #readFully}.
279 * See also {@link #readFully}.
379 * Equivalent to {@code readFully(dst, 0, dst.length);}.
381 public final void readFully(byte[] dst) throws IOException { method in class:RandomAccessFile
382 readFully(dst, 0, dst.length);
411 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:RandomAccessFile
436 readFully(scratch, 0, SizeOf.INT);
497 readFully(scratch, 0, SizeOf.LONG);
514 readFully(scratch, 0, SizeOf.SHORT);
H A DObjectInputStream.java555 input.readFully(result);
571 input.readFully(result);
1167 public void readFully(byte[] dst) throws IOException { method in class:ObjectInputStream
1168 primitiveTypes.readFully(dst);
1187 public void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:ObjectInputStream
1188 primitiveTypes.readFully(dst, offset, byteCount);
1448 input.readFully(byteArray, 0, size);
/libcore/luni/src/main/java/java/util/zip/
H A DGZIPInputStream.java98 readFully(header, 0, header.length);
109 readFully(header, 0, 2);
133 readFully(header, 0, 2);
187 readFully(b, copySize, trailerSize - copySize);
197 private void readFully(byte[] buffer, int offset, int length) throws IOException { method in class:GZIPInputStream
/libcore/dalvik/src/main/java/dalvik/system/profiler/
H A DBinaryHprofReader.java251 readFully(in, bytes);
262 private static void readFully(InputStream in, byte[] dst) throws IOException { method in class:BinaryHprofReader

Completed in 533 milliseconds