Class BinContent


  • public abstract class BinContent
    extends Object
    Conversion utilities.
    Author:
    michal.polkorab
    • Method Detail

      • intToUnsignedLong

        public static long intToUnsignedLong​(int value)
        Converts an int to unsigned long.
        Parameters:
        value - input integer value (might be negative)
        Returns:
        int part wrapped in long (always positive)
      • longToSignedInt

        public static int longToSignedInt​(long value)
        Converts an unsigned long to int.
        Parameters:
        value - input long value
        Returns:
        long cut into int