505152535455565758
byte[] data = baos.toByteArray(); System.out.println(baos.size()); ByteArrayInputStream bais = new ByteArrayInputStream(data); ModelInputStream mis = new ModelInputStream(bais); Person person = mis.readModel(); dumpResults(person); }