Package com.esotericsoftware.kryo.io

Examples of com.esotericsoftware.kryo.io.FastOutput


      for (int j = 0; j < ITER_CNT; j++) {

        Output kryoOut = null;

        kryoOut = new FastOutput(out);

        marsh.writeObject(kryoOut, obj);
        kryoOut.close();
        // U.close(kryoOut, null);
View Full Code Here


      }
    });

    roundTripWithStreamFactory(unsafeLength, object1, new StreamFactory() {
      public Output createOutput(OutputStream os) {
        return new FastOutput(os);
      }

      public Output createOutput(OutputStream os, int size) {
        return new FastOutput(os, size);
      }

      public Output createOutput(int size, int limit) {
        return new FastOutput(size, limit);
      }

      public Input createInput(InputStream os, int size) {
        return new FastInput(os, size);
      }
View Full Code Here

      }
    });

    roundTripWithStreamFactory(unsafeLength, object1, new StreamFactory() {
      public Output createOutput(OutputStream os) {
        return new FastOutput(os);
      }

      public Output createOutput(OutputStream os, int size) {
        return new FastOutput(os, size);
      }

      public Output createOutput(int size, int limit) {
        return new FastOutput(size, limit);
      }

      public Input createInput(InputStream os, int size) {
        return new FastInput(os, size);
      }
View Full Code Here

TOP

Related Classes of com.esotericsoftware.kryo.io.FastOutput

Copyright © 2018 www.massapicom. 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.