Class IntDecoder
java.lang.Object
com.compomics.util.experiment.io.mass_spectrometry.mzml.IntDecoder
Decodes ints from the half bytes in bytes. Lossless reverse of encodeInt.
- Author:
- fgonzalez, jteleman
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IntDecoder
public IntDecoder(byte[] bytes, int pos) Constructor.- Parameters:
bytes- the bytespos- the position
-
-
Method Details
-
next
public long next()Returns the next value.- Returns:
- the next value
-