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

Method readLong

ij/src/main/java/ij/io/TiffDecoder.java:118–124  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

116 }
117
118 final long readLong() throws IOException {
119 if (littleEndian)
120 return ((long)getInt()&0xffffffffL) + ((long)getInt()<<32);
121 else
122 return ((long)getInt()<<32) + ((long)getInt()&0xffffffffL);
123 //return in.read()+(in.read()<<8)+(in.read()<<16)+(in.read()<<24)+(in.read()<<32)+(in.read()<<40)+(in.read()<<48)+(in.read()<<56);
124 }
125
126 final double readDouble() throws IOException {
127 return Double.longBitsToDouble(readLong());

Callers 1

readDoubleMethod · 0.95

Calls 1

getIntMethod · 0.95

Tested by

no test coverage detected