First two bytes from the ZIP file:
InputStream is = new FileInputStream(FILE NAME);
byte b1 = (byte)is.read();
byte b2 = (byte)is.read();
is.close();
First two bytes from the first compressed file:
InputStream is = new FileInputStream(FILE NAME);
ZipInputStream zis = new ZipInputStream(is);
zis.getNextEntry();
byte[] bytes = new byte[2];
zis.read(bytes, 0, 2);
zis.close();