java.lang.Object
com.compomics.util.experiment.io.mass_spectrometry.mzml.IntDecoder

public class IntDecoder
extends Object
Decodes ints from the half bytes in bytes. Lossless reverse of encodeInt.
Author:
fgonzalez, jteleman
  • Constructor Details

    • IntDecoder

      public IntDecoder​(byte[] bytes, int pos)
      Constructor.
      Parameters:
      bytes - the bytes
      pos - the position
  • Method Details

    • next

      public long next()
      Returns the next value.
      Returns:
      the next value