DataSource

interface DataSource : DataInput, DataOutput, Closeable

Functions

close
Link copied to clipboard
abstract override fun close()
length
Link copied to clipboard
abstract fun length(): Long
readBoolean
Link copied to clipboard
abstract fun readBoolean(): Boolean
readByte
Link copied to clipboard
abstract fun readByte(): Byte
abstract fun readByte(pos: Long): Byte
readBytes
Link copied to clipboard
abstract fun readBytes(pos: Long, destination: ByteArray)
readChar
Link copied to clipboard
abstract fun readChar(): Char
readDouble
Link copied to clipboard
abstract fun readDouble(): Double
readFloat
Link copied to clipboard
abstract fun readFloat(): Float
readFully
Link copied to clipboard
abstract fun readFully(p0: ByteArray)
abstract fun readFully(p0: ByteArray, p1: Int, p2: Int)
readInt
Link copied to clipboard
abstract fun readInt(): Int
abstract fun readInt(pos: Long): Int
readLine
Link copied to clipboard
abstract fun readLine(): String
readLong
Link copied to clipboard
abstract fun readLong(): Long
readShort
Link copied to clipboard
abstract fun readShort(): Short
readUnsignedByte
Link copied to clipboard
abstract fun readUnsignedByte(): Int
readUnsignedShort
Link copied to clipboard
abstract fun readUnsignedShort(): Int
readUTF
Link copied to clipboard
abstract fun readUTF(): String
seek
Link copied to clipboard
abstract fun seek(position: Long)
setLength
Link copied to clipboard
abstract fun setLength(newLength: Long)
skipBytes
Link copied to clipboard
abstract fun skipBytes(p0: Int): Int
write
Link copied to clipboard
abstract fun write(p0: ByteArray)
abstract fun write(p0: Int)
abstract fun write(p0: ByteArray, p1: Int, p2: Int)
writeBoolean
Link copied to clipboard
abstract fun writeBoolean(p0: Boolean)
writeByte
Link copied to clipboard
abstract fun writeByte(p0: Int)
abstract fun writeByte(pos: Long, b: Byte)
writeBytes
Link copied to clipboard
abstract fun writeBytes(p0: String)
abstract fun writeBytes(pos: Long, bytes: ByteArray)
writeChar
Link copied to clipboard
abstract fun writeChar(p0: Int)
writeChars
Link copied to clipboard
abstract fun writeChars(p0: String)
writeDouble
Link copied to clipboard
abstract fun writeDouble(p0: Double)
writeFloat
Link copied to clipboard
abstract fun writeFloat(p0: Float)
writeInt
Link copied to clipboard
abstract fun writeInt(p0: Int)
abstract fun writeInt(pos: Long, int: Int)
writeLong
Link copied to clipboard
abstract fun writeLong(p0: Long)
writeShort
Link copied to clipboard
abstract fun writeShort(p0: Int)
writeUTF
Link copied to clipboard
abstract fun writeUTF(p0: String)

Inheritors

GrowableSource
Link copied to clipboard
RandomAccessFileSource
Link copied to clipboard