373374375376377378379380381382383
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 {
191192193194195196197198199200201
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(); }
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(); }
185186187188189190191192193194195