Package com.peterhi.obsolete

Examples of com.peterhi.obsolete.ModelOutputStream.writeModel()


    benben.aliases().add("SB");
    benben.aliases().add("B");
   
    ByteArrayOutputStream baos = new ByteArrayOutputStream();
    ModelOutputStream mos = new ModelOutputStream(baos);
    mos.writeModel(jason);
   
    byte[] data = baos.toByteArray();
    System.out.println(baos.size());
   
    ByteArrayInputStream bais = new ByteArrayInputStream(data);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.