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.java266 * has been reached. See also {@link #readFully}.
281 * See also {@link #readFully}.
381 * Equivalent to {@code readFully(dst, 0, dst.length);}.
383 public final void readFully(byte[] dst) throws IOException { method in class:RandomAccessFile
384 readFully(dst, 0, dst.length);
413 public final void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:RandomAccessFile
438 readFully(scratch, 0, SizeOf.INT);
499 readFully(scratch, 0, SizeOf.LONG);
516 readFully(scratch, 0, SizeOf.SHORT);
H A DObjectInputStream.java554 input.readFully(result);
570 input.readFully(result);
1165 public void readFully(byte[] dst) throws IOException { method in class:ObjectInputStream
1166 primitiveTypes.readFully(dst);
1185 public void readFully(byte[] dst, int offset, int byteCount) throws IOException { method in class:ObjectInputStream
1186 primitiveTypes.readFully(dst, offset, byteCount);
1446 input.readFully(byteArray, 0, size);
/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
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DDataInputStreamTest.java130 * java.io.DataInputStream#readFully(byte[])
137 dis.readFully(rbytes);
143 * java.io.DataInputStream#readFully(byte[], int, int)
150 dis.readFully(rbytes, 0, fileString.length());
156 * java.io.DataInputStream#readFully(byte[], int, int)
165 is.readFully(byteArray, -1, -1);
172 is.readFully(byteArray, 0, -1);
179 is.readFully(byteArray, 1, -1);
185 is.readFully(byteArray, -1, 0);
186 is.readFully(byteArra
486 public void readFully(byte[] buffer) throws IOException { method in class:DataInputStreamTest.TestDataInputStream
489 public void readFully(byte[] buffer, int offset, int count) method in class:DataInputStreamTest.TestDataInputStream
[all...]

Completed in 306 milliseconds