Class Bytes2Number



  • public class Bytes2Number
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Bytes2Number​()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int int4​(int a, int b, int c, int d)
      Convert four ints into a signed integer.
      static int int4​(java.io.RandomAccessFile raf)
      Read signed integer of 4 bytes from binary reader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Bytes2Number

        public Bytes2Number​()
    • Method Detail

      • int4

        public static int int4​(int a,
                               int b,
                               int c,
                               int d)
        Convert four ints into a signed integer.
        Parameters:
        a - Highest int
        b - Higher middle int
        c - Lower middle int
        d - Lowest int
        Returns:
        Integer value
      • int4

        public static int int4​(java.io.RandomAccessFile raf)
                        throws java.io.IOException
        Read signed integer of 4 bytes from binary reader
        Parameters:
        raf - RandomAccessFile
        Returns:
        Signed integer
        Throws:
        java.io.IOException