}
public void test2() throws IOException, ClassNotFoundException {
FastByteArrayOutputStream f = new FastByteArrayOutputStream();
ObjectOutputStream out = new ObjectOutputStream(f);
Student student1 = new Student("Chris", "Giroir", "111111", "elkfjwe", "wifjew");
out.writeObject(student1);
out.writeInt(5);
FastByteArrayOutputStream out2 = new FastByteArrayOutputStream();
ObjectOutputStream oos2 = new ObjectOutputStream(out2);
Student student2 = new Student("Chris2", "Giroir2", "elkfjwe", "111111");
Student student3 = new Student("dsfsfsd", "sasa", "DSsd", "sds");
oos2.writeObject(student2);
oos2.writeObject(student3);
byte[] b2 = out2.toByteArray();
out.writeInt(b2.length);
out.write(b2);