mirai-core / net.mamoe.mirai.utils.internal / InputStream

InputStream

abstract class InputStream

Functions

available

open fun available(): Int

close

open fun close(): Unit

read

abstract fun read(): Int
open fun read(b: ByteArray): Int
open fun read(b: ByteArray, offset: Int, len: Int): Int

skip

open fun skip(n: Long): Long