Class ByteUtils


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

      Constructors 
      Constructor Description
      ByteUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static int toBigEndianInt​(byte[] bytes, int off, int len)  
      static int toLittleEndianInt​(byte[] bytes, int off, int len)  
      • Methods inherited from class java.lang.Object

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

      • ByteUtils

        public ByteUtils()
    • Method Detail

      • toBigEndianInt

        public static int toBigEndianInt​(byte[] bytes,
                                         int off,
                                         int len)
      • toLittleEndianInt

        public static int toLittleEndianInt​(byte[] bytes,
                                            int off,
                                            int len)