MCPcopy Index your code
hub / github.com/dumbledore/AlbiteREADER / read

Method read

src/gnu/zip/ZipInputStream.java:283–289  ·  view source on GitHub ↗

Reads a byte from the current zip entry. @return the byte or -1 on EOF. @exception IOException if a i/o error occured. @exception ZipException if the deflated stream is corrupted.

()

Source from the content-addressed store, hash-verified

281 * @exception ZipException if the deflated stream is corrupted.
282 */
283 public int read() throws IOException
284 {
285 byte[] b = new byte[1];
286 if (read(b, 0, 1) <= 0)
287 return -1;
288 return b[0] & 0xff;
289 }
290
291 /**
292 * Reads a block of bytes from the current zip entry.

Callers 2

closeEntryMethod · 0.95
fillBufMethod · 0.45

Calls 10

readDataDescrMethod · 0.95
readBufMethod · 0.95
finishedMethod · 0.80
getRemainingMethod · 0.80
getTotalInMethod · 0.80
getTotalOutMethod · 0.80
getCrcMethod · 0.80
resetMethod · 0.65
updateMethod · 0.65
getValueMethod · 0.65

Tested by

no test coverage detected