Class Kryo505ByteBufferInput

java.lang.Object
java.io.InputStream
com.esotericsoftware.kryo.io.Input
com.esotericsoftware.kryo.io.ByteBufferInput
io.atomix.utils.serializer.Kryo505ByteBufferInput
All Implemented Interfaces:
Closeable, AutoCloseable

public final class Kryo505ByteBufferInput extends com.esotericsoftware.kryo.io.ByteBufferInput
A Kryo-4.0.3 ByteBufferInput adapted to deal with issue 505.
Author:
Roman Levenstein <romixlev@gmail.com>, Robert Varga
  • Field Summary

    Fields inherited from class com.esotericsoftware.kryo.io.ByteBufferInput

    nativeOrder, niobuffer, varIntsEnabled

    Fields inherited from class com.esotericsoftware.kryo.io.Input

    buffer, capacity, chars, inputStream, limit, position, total
  • Method Summary

    Modifier and Type
    Method
    Description
     
     

    Methods inherited from class com.esotericsoftware.kryo.io.ByteBufferInput

    canReadInt, canReadLong, close, fill, getByteBuffer, getInputStream, getVarIntsEnabled, order, order, read, read, read, readBoolean, readByte, readBytes, readBytes, readBytes, readByteUnsigned, readChar, readChars, readDouble, readDouble, readDoubles, readFloat, readFloat, readFloats, readInt, readInt, readInts, readLong, readLong, readLongs, readShort, readShorts, readShortUnsigned, readVarInt, readVarLong, release, require, rewind, setBuffer, setBuffer, setInputStream, setLimit, setPosition, setVarIntsEnabled, skip, skip

    Methods inherited from class com.esotericsoftware.kryo.io.Input

    available, eof, fill, getBuffer, limit, position, readInts, readLongs, setBuffer, setTotal, total

    Methods inherited from class java.lang.Object

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

    • readString

      public String readString()
      Overrides:
      readString in class com.esotericsoftware.kryo.io.ByteBufferInput
    • readStringBuilder

      public StringBuilder readStringBuilder()
      Overrides:
      readStringBuilder in class com.esotericsoftware.kryo.io.ByteBufferInput