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

Method getSShort

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

Source from the content-addressed store, hash-verified

363 }
364
365 int getSShort() throws IOException {
366 short b0 = (short)getByte();
367 short b1 = (short)getByte();
368 if (littleEndian)
369 return ((b1 << 8) + b0);
370 else
371 return ((b0 << 8) + b1);
372 }
373
374 final int getInt() throws IOException {
375 int b0 = getByte();

Callers 1

getHeaderInfoMethod · 0.95

Calls 1

getByteMethod · 0.95

Tested by

no test coverage detected