Package com.threerings.io

Examples of com.threerings.io.ObjectOutputStream.writeObject()


            this(tourneyConfig.tourneyId);
            ByteArrayOutputStream bstream = new ByteArrayOutputStream();
            ObjectOutputStream ostream = new ObjectOutputStream(bstream);

            try {
                ostream.writeObject(config);
                config = bstream.toByteArray();

            } catch (IOException e) {
                log.warning("Error writing TourneyConfig to byte array [e=" + e + "].");
            }
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.