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

Method getShort

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

Source from the content-addressed store, hash-verified

107 }
108
109 final int getShort() throws IOException {
110 int b1 = in.read();
111 int b2 = in.read();
112 if (littleEndian)
113 return ((b2<<8) + b1);
114 else
115 return ((b1<<8) + b2);
116 }
117
118 final long readLong() throws IOException {
119 if (littleEndian)

Callers 3

OpenImageFileHeaderMethod · 0.95
getValueMethod · 0.95
OpenIFDMethod · 0.95

Calls 1

readMethod · 0.65

Tested by

no test coverage detected