MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / readInputStream

Method readInputStream

CodenameOne/src/com/codename1/io/Util.java:385–389  ·  view source on GitHub ↗
(InputStream i)

Source from the content-addressed store, hash-verified

383 ///
384 /// byte array of the content of the stream
385 public static byte[] readInputStream(InputStream i) throws IOException {
386 ByteArrayOutputStream b = new ByteArrayOutputStream();
387 copy(i, b);
388 return b.toByteArray();
389 }
390
391 /// Registers this externalizable so readObject will be able to load such objects.
392 ///

Callers 15

loadSoundMethod · 0.95
readStoredMethod · 0.95
runMethod · 0.95
maybeGunzipMethod · 0.95
readResponseMethod · 0.95
readResponseMethod · 0.95
readResponseMethod · 0.95
readResponseMethod · 0.95
readToStringMethod · 0.95
cacheUnmodifiedMethod · 0.95

Calls 2

copyMethod · 0.95
toByteArrayMethod · 0.95

Tested by 1

readKeyMethod · 0.76