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

Method readLeShort

src/gnu/zip/ZipFile.java:663–680  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

661 }
662
663 int readLeShort() throws IOException
664 {
665 int result;
666 if(pos + 1 < buffer.length)
667 {
668 result = ((buffer[pos + 0] & 0xff) | (buffer[pos + 1] & 0xff) << 8);
669 pos += 2;
670 }
671 else
672 {
673 int b0 = read();
674 int b1 = read();
675 if (b1 == -1)
676 throw new EOFException();
677 result = (b0 & 0xff) | (b1 & 0xff) << 8;
678 }
679 return result;
680 }
681
682 int readLeInt() throws IOException
683 {

Callers 2

readEntriesMethod · 0.95
getInputStreamMethod · 0.95

Calls 1

readMethod · 0.95

Tested by

no test coverage detected