Home | History | Annotate | Download | only in dxconvext

Lines Matching full:bytes

57         // 2. modify some bytes to damage the structure of the .class file in a 
60 // Uncomment the original bytes, and write "MOD:" meaning a modified
65 // file, parses them as hex values and writes the bytes to the class file
126 * @param bytes non-null; the bytes of the file
128 private void calcSignature(byte[] bytes) {
137 md.update(bytes, 32, bytes.length - 32);
140 int amt = md.digest(bytes, 12, 20);
143 " bytes");
156 * @param bytes non-null; the bytes of the file
158 private void calcChecksum(byte[] bytes) {
161 a32.update(bytes, 12, bytes.length - 12);
165 bytes[8] = (byte) sum;
166 bytes[9] = (byte) (sum >> 8);
167 bytes[10] = (byte) (sum >> 16);
168 bytes[11] = (byte) (sum >> 24);