PersistentInput

PersistentInput is an interface that extends DataInput and provides a method to read data of a specific type using a PersistentDataType.

It allows reading complex data types from a stream, converting them to their primitive representation using the provided PersistentDataType.

Author

Fantamomo

Since

1.0-SNAPSHOT

Inheritors

Functions

Link copied to clipboard
abstract fun readBoolean(): Boolean
Link copied to clipboard
abstract fun readByte(): Byte
Link copied to clipboard
abstract fun readChar(): Char
Link copied to clipboard
abstract fun <P : Any, C : Any> readData(type: PersistentDataType<P, C>): C

Reads data of a specific type from the input stream using the provided PersistentDataType.

Link copied to clipboard
abstract fun readDouble(): Double
Link copied to clipboard
abstract fun readFloat(): Float
Link copied to clipboard
abstract fun readFully(p0: ByteArray)
abstract fun readFully(p0: ByteArray, p1: Int, p2: Int)
Link copied to clipboard
abstract fun readInt(): Int
Link copied to clipboard
abstract fun readLine(): String
Link copied to clipboard
abstract fun readLong(): Long
Link copied to clipboard
abstract fun readShort(): Short
Link copied to clipboard
abstract fun readUnsignedByte(): Int
Link copied to clipboard
abstract fun readUnsignedShort(): Int
Link copied to clipboard
abstract fun readUTF(): String
Link copied to clipboard
abstract fun skipBytes(p0: Int): Int