Added @maaatts Cafebabe

This commit is contained in:
Konloch 2021-06-28 00:05:52 -07:00
parent 54be34be5e
commit e349711502

AI 샘플 코드 생성 중입니다

Loading...

View File

@ -158,10 +158,8 @@ public class MiscUtils
public static String getFileHeader(byte[] fileContents) public static String getFileHeader(byte[] fileContents)
{ {
return String.format("%02X", fileContents[0]) return String.format("%02X%02X%02X%02X", fileContents[0],
+ String.format("%02X", fileContents[1]) fileContents[1], fileContents[2],fileContents[3]);
+ String.format("%02X", fileContents[2])
+ String.format("%02X", fileContents[3]);
} }
public static String extension(String name) { public static String extension(String name) {