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

Method readLong

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

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

()

Source from the content-addressed store, hash-verified

1404 * (note: RandomAccessFile.readLong has other byte order than AVI) */
1405
1406 final long readLong() throws IOException {
1407 long low = readInt() & 0x00000000FFFFFFFFL;
1408 long high = readInt() & 0x00000000FFFFFFFFL;
1409 long result = high <<32 | low;
1410 return (long) result; //(high << 32 | low);
1411 }
1412 /** Read 4-byte int with Intel (little-endian) byte order
1413 * (note: RandomAccessFile.readInt has other byte order than AVI) */
1414

Callers 2

readAvi2IndexMethod · 0.95
openBinaryLutMethod · 0.45

Calls 1

readIntMethod · 0.95

Tested by

no test coverage detected