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

Method getOverlay

ij/src/main/java/ij/io/TiffDecoder.java:761–770  ·  view source on GitHub ↗
(int first, int last, FileInfo fi)

Source from the content-addressed store, hash-verified

759 }
760
761 void getOverlay(int first, int last, FileInfo fi) throws IOException {
762 fi.overlay = new byte[last-first+1][];
763 int index = 0;
764 for (int i=first; i<=last; i++) {
765 int len = metaDataCounts[i];
766 fi.overlay[index] = new byte[len];
767 in.readFully(fi.overlay[index], len);
768 index++;
769 }
770 }
771
772 void getProperties(int first, int last, FileInfo fi) throws IOException {
773 fi.properties = new String[last-first+1];

Callers 1

getMetaDataMethod · 0.95

Calls 1

readFullyMethod · 0.65

Tested by

no test coverage detected