org.mapdb / DataInput2

DataInput2

abstract class DataInput2 : DataInput

Used for serialization



Types

ByteArray class ByteArray : DataInput2

DataInput on top of byte[]

ByteBuffer class ByteBuffer : DataInput2

Wraps java.nio.ByteBuffer and provides DataInput

DataInputToStream class DataInputToStream : InputStream

Wraps DataInput into InputStream

Stream class Stream : DataInput2

Constructors

<init> DataInput2()

Used for serialization

Functions

close abstract fun close(): Unit
getPos abstract fun getPos(): Int
internalByteArray abstract fun internalByteArray(): ByteArray

internalByteBuffer abstract fun internalByteBuffer(): ByteBuffer

readDouble open fun readDouble(): Double
readFloat open fun readFloat(): Float
readFully open fun readFully(b: ByteArray): Unit
readLine open fun readLine(): String
readUTF open fun readUTF(): String
readUnsignedShort open fun readUnsignedShort(): Int
setPos abstract fun setPos(pos: Int): Unit
unpackInt abstract fun unpackInt(): Int
unpackIntArray abstract fun unpackIntArray(ret: IntArray, i: Int, len: Int): Unit
unpackLong abstract fun unpackLong(): Long
unpackLongArray abstract fun unpackLongArray(ret: LongArray, i: Int, len: Int): Unit
unpackLongArrayDeltaCompression abstract fun unpackLongArrayDeltaCompression(size: Int): LongArray
unpackLongSkip abstract fun unpackLongSkip(count: Int): Unit

Inheritors

ByteArray class ByteArray : DataInput2

DataInput on top of byte[]

ByteBuffer class ByteBuffer : DataInput2

Wraps java.nio.ByteBuffer and provides DataInput

Stream class Stream : DataInput2