183184185186187188189190191192193
throw new Exception("length incorrect"); for (int j = 0; j < length; j++) { byte b = (byte)(gen.nextInt() & 0x7F); if (file.readByte() != b) throw new Exception("contents incorrect"); } file.close(); }
throw new Exception("length incorrect"); for (int j = 0; j < length; j++) { byte b = (byte) (gen.nextInt() & 0x7F); if (file.readByte() != b) throw new Exception("contents incorrect"); } file.close(); }
370371372373374375376377378379380
throw new Exception("length incorrect"); for (int j = 0; j < length; j++) { byte b = (byte) (gen.nextInt() & 0x7F); if (file.readByte() != b) throw new Exception("contents incorrect"); } file.close(); } else {
103104105106107108109110111112113
for (int j = 0; j < length; j++) if (content[j] != b) throw new Exception("contents incorrect"); } else { for (int j = 0; j < length; j++) if (file.readByte() != b) throw new Exception("contents incorrect"); } file.close(); }
190191192193194195196197198199200
189190191192193194195196197198199
108109110111112113114115116117118
184185186187188189190191192193194