Examples of JBossObjectOutputStream


Examples of org.jboss.serial.io.JBossObjectOutputStream

        for (int exec=0;exec<MAX_LOOP;exec++)
        {
            byteOut.reset();

            JBossObjectOutputStream out = new JBossObjectOutputStream(byteOut,buffer);
            out.writeObject(myTest);
            out.flush();


            byte[] byteArray = byteOut.toByteArray();
            saveFile("/tmp/jboss-test-" + myTest.getClass().getName() + ".bin",byteArray);
            System.out.println(myTest.getClass().getName() +" produced " + byteArray.length + " on JBossSerialization");
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.