Class BytesUtil


  • public class BytesUtil
    extends Object
    • Constructor Detail

      • BytesUtil

        public BytesUtil()
    • Method Detail

      • indexOf

        public static int indexOf​(byte[] array,
                                  byte[] target)
      • indexOf

        public static int indexOf​(byte[] array,
                                  int start,
                                  byte[] target)
      • lastIndexOf

        public static int lastIndexOf​(byte[] array,
                                      byte[] target)
      • replace

        public static byte[] replace​(byte[] array,
                                     byte[] oldBytes,
                                     byte[] newBytes)