MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / readInt

Method readInt

ij/src/main/java/ij/plugin/AVI_Reader.java:1415–1420  ·  view source on GitHub ↗

Read 4-byte int with Intel (little-endian) byte order (note: RandomAccessFile.readInt has other byte order than AVI)

()

Source from the content-addressed store, hash-verified

1413 * (note: RandomAccessFile.readInt has other byte order than AVI) */
1414
1415 final int readInt() throws IOException {
1416 int result = 0;
1417 for (int shiftBy = 0; shiftBy < 32; shiftBy += 8)
1418 result |= (raFile.readByte() & 0xff) << shiftBy;
1419 return result;
1420 }
1421
1422 /** Read 2-byte short with Intel (little-endian) byte order
1423 * (note: RandomAccessFile.readShort has other byte order than AVI) */

Callers 14

openAndReadHeaderMethod · 0.95
readAVIXMethod · 0.95
findFourccAndReadMethod · 0.95
findFourccAndSkipMethod · 0.95
readContentsMethod · 0.95
readAviHeaderMethod · 0.95
readStreamHeaderMethod · 0.95
readAvi2IndexMethod · 0.95
readOldFrameIndexMethod · 0.95
readBitMapInfoMethod · 0.95
readMovieDataMethod · 0.95
readLongMethod · 0.95

Calls 1

readByteMethod · 0.45

Tested by

no test coverage detected