Package ome.metakit

Class MetakitTools


  • public class MetakitTools
    extends Object
    Utility methods for working with Metakit database files.
    • Constructor Detail

      • MetakitTools

        public MetakitTools()
    • Method Detail

      • readPString

        public static String readPString​(loci.common.RandomAccessInputStream stream)
                                  throws IOException
        Read a Pascal-style string from the given RandomAccessInputStream.
        Throws:
        IOException
      • readBpInt

        public static int readBpInt​(loci.common.RandomAccessInputStream stream)
                             throws IOException
        Read a byte-packed integer from the given RandomAccessInputStream. See http://equi4.com/metakit/metakit-ff.html#formatgrammar for a description of byte-packed integers.
        Throws:
        IOException