Input

interface Input

Functions

Link copied to clipboard
abstract fun read(): Int
abstract fun read(    b: ByteArray,     offset: Int = 0,     length: Int = b.size - offset): Int

Properties

Link copied to clipboard
abstract val availableBytes: Int

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard
fun Input.readNBytes(n: Int): ByteArray?

Read bytes from the input. Return null if the input is too small.