Package com.esotericsoftware.kryo.serialize

Examples of com.esotericsoftware.kryo.serialize.ByteSerializer


  public Kryo () {
    Serializer serializer;
    // Primitives.
    register(boolean.class, new BooleanSerializer());
    register(byte.class, new ByteSerializer());
    register(char.class, new CharSerializer());
    register(short.class, new ShortSerializer());
    register(int.class, new IntSerializer());
    register(long.class, new LongSerializer());
    register(float.class, new FloatSerializer());
    register(double.class, new DoubleSerializer());
    // Primitive wrappers.
    register(Boolean.class, new BooleanSerializer());
    register(Byte.class, new ByteSerializer());
    register(Character.class, new CharSerializer());
    register(Short.class, new ShortSerializer());
    register(Integer.class, new IntSerializer());
    register(Long.class, new LongSerializer());
    register(Float.class, new FloatSerializer());
View Full Code Here

TOP

Related Classes of com.esotericsoftware.kryo.serialize.ByteSerializer

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.