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

Method getInt

ij/src/main/java/ij/plugin/DICOM.java:374–383  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

372 }
373
374 final int getInt() throws IOException {
375 int b0 = getByte();
376 int b1 = getByte();
377 int b2 = getByte();
378 int b3 = getByte();
379 if (littleEndian)
380 return ((b3<<24) + (b2<<16) + (b1<<8) + b0);
381 else
382 return ((b0<<24) + (b1<<16) + (b2<<8) + b3);
383 }
384
385 long getUInt() throws IOException {
386 long b0 = getByte();

Callers 2

getLengthMethod · 0.95
getHeaderInfoMethod · 0.95

Calls 1

getByteMethod · 0.95

Tested by

no test coverage detected