question: public final byte [ ] serialize ( ) throws IOException { ByteArrayOutputStream stream = new ByteArrayOutputStream ( computeSerializedSize ( ) ) ; serialize ( stream ) ; return stream . toByteArray ( ) ; }
target:  Serialize object to byte array