Package globus.glmap
Class GLMapUtils
java.lang.Object
globus.glmap.GLMapUtils
Internal utility helpers shared across the glmap library.
-
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]readAllBytes(InputStream stream) Reads the stream to its end and returns the accumulated bytes.
-
Method Details
-
readAllBytes
Reads the stream to its end and returns the accumulated bytes.- Parameters:
stream- input stream to drain- Returns:
- all bytes read from
stream - Throws:
IOException- if reading from the stream fails
-