Class ByteOrderUtil

java.lang.Object
de.undercouch.bson4jackson.io.ByteOrderUtil

public class ByteOrderUtil extends Object
Provides static methods to change the byte order of single values
  • Constructor Details

    • ByteOrderUtil

      public ByteOrderUtil()
  • Method Details

    • flip

      public static int flip(int i)
      Flips the byte order of an integer
      Parameters:
      i - the integer
      Returns:
      the flipped integer