类 ByteOperator


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

      • ByteOperator

        public ByteOperator()
    • 方法详细资料

      • 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)
      • intTo8Bytes

        public static byte[] intTo8Bytes​(int val)
      • intToOneByte

        public static byte intToOneByte​(int val)
      • byteArrayToInt

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

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

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