Class InputStreams
java.lang.Object
org.jacoco.core.internal.InputStreams
Utilities for
InputStreams.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]readFully(InputStream is) Reads all bytes from an input stream into a byte array.
-
Constructor Details
-
InputStreams
private InputStreams()
-
-
Method Details
-
readFully
Reads all bytes from an input stream into a byte array. The providedInputStreamis not closed by this method.- Parameters:
is- the input stream to read from- Returns:
- a byte array containing all the bytes from the stream
- Throws:
IOException- if an I/O error occurs
-