MCPcopy Index your code
hub / github.com/antlr/codebuff / readFully

Method readFully

output/java_guava/1.4.17/ByteStreams.java:748–750  ·  view source on GitHub ↗

Attempts to read enough bytes from the stream to fill the given byte array, with the same behavior as DataInput#readFully(byte[]). Does not close the stream. @param in the input stream to read from. @param b the buffer into which the data is read. @throws EOFException if this stream reaches

(InputStream in, byte[] b)

Source from the content-addressed store, hash-verified

746
747
748 public static void readFully(InputStream in, byte[] b) throws IOException {
749 readFully(in, b, 0, b.length);
750 }
751
752 /**
753 * Attempts to read {@code len} bytes from the stream into the given array starting at

Callers 1

readFullyMethod · 0.95

Calls 1

readMethod · 0.95

Tested by

no test coverage detected