类 Bytes


  • public class Bytes
    extends java.lang.Object
    util for byte
    • 构造器详细资料

      • Bytes

        public Bytes()
    • 方法详细资料

      • appendBytes

        public static byte[] appendBytes​(byte[] dest,
                                         byte[] src)
      • appendByte

        public static byte[] appendByte​(byte[] dest,
                                        byte src)
      • unsignedByte

        public static int unsignedByte​(byte val)
      • unsignedInt

        public static long unsignedInt​(int val)
      • byteArrayToInt

        public static int byteArrayToInt​(byte[] bs,
                                         int offset)
      • byteArrayToUnsignedInt

        public static long byteArrayToUnsignedInt​(byte[] bs,
                                                  int offset)
      • byteArrayToHexString

        public static java.lang.String byteArrayToHexString​(byte[] bytes)
      • intToHexString

        public static java.lang.String intToHexString​(int val)