Class ByteArraySearcher


  • public final class ByteArraySearcher
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static boolean contains​(byte[] haystack, byte[] needle)  
      static int indexOf​(byte[] haystack, byte[] needle)  
      static boolean startsWith​(byte[] haystack, byte[] needle)  
      • Methods inherited from class java.lang.Object

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

      • indexOf

        public static int indexOf​(byte[] haystack,
                                  byte[] needle)
      • contains

        public static boolean contains​(byte[] haystack,
                                       byte[] needle)
      • startsWith

        public static boolean startsWith​(byte[] haystack,
                                         byte[] needle)