У меня есть последовательность байтов, которую я должен искать в наборе двоичных файлов с помощью Java.
Пример: Я ищу последовательность байтов DEADBEEF
(в шестнадцатеричном формате) в двоичном файле.
Как я буду делать это на Java? Есть ли встроенный метод, например String.contains()
для двоичных файлов?