Home | History | Annotate | Download | only in os

Lines Matching refs:eocd

172             byte[] eocd = new byte[commentSize + 22];
174 raf.readFully(eocd);
178 if (eocd[0] != (byte)0x50 || eocd[1] != (byte)0x4b ||
179 eocd[2] != (byte)0x05 || eocd[3] != (byte)0x06) {
183 for (int i = 4; i < eocd.length-3; ++i) {
184 if (eocd[i ] == (byte)0x50 && eocd[i+1] == (byte)0x4b &&
185 eocd[i+2] == (byte)0x05 && eocd[i+3] == (byte)0x06) {
186 throw new SignatureException("EOCD marker found after start of EOCD");
197 new ByteArrayInputStream(eocd, commentSize+22-signatureStart, signatureStart));