Class ByteBufferSerializer

java.lang.Object
com.esotericsoftware.kryo.Serializer<ByteBuffer>
io.atomix.utils.serializer.serializers.ByteBufferSerializer

public class ByteBufferSerializer extends com.esotericsoftware.kryo.Serializer<ByteBuffer>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends ByteBuffer> type)
     
    void
    write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, ByteBuffer object)
     

    Methods inherited from class com.esotericsoftware.kryo.Serializer

    copy, getAcceptsNull, isImmutable, setAcceptsNull, setImmutable

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ByteBufferSerializer

      public ByteBufferSerializer()
  • Method Details

    • write

      public void write(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Output output, ByteBuffer object)
      Specified by:
      write in class com.esotericsoftware.kryo.Serializer<ByteBuffer>
    • read

      public ByteBuffer read(com.esotericsoftware.kryo.Kryo kryo, com.esotericsoftware.kryo.io.Input input, Class<? extends ByteBuffer> type)
      Specified by:
      read in class com.esotericsoftware.kryo.Serializer<ByteBuffer>