Added @maaatts Cafebabe
This commit is contained in:
parent
54be34be5e
commit
e349711502
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user