SliceAsyncStreamBase

class SliceAsyncStreamBase(base: AsyncStreamBase, baseStart: Long, baseEnd: Long, closeParent: Boolean) : AsyncStreamBase

Constructors

Link copied to clipboard
constructor(base: AsyncStreamBase, baseStart: Long, baseEnd: Long, closeParent: Boolean)

Functions

Link copied to clipboard
open suspend override fun close()
Link copied to clipboard
open suspend override fun getLength(): Long
Link copied to clipboard
open suspend fun hasLength(): Boolean
Link copied to clipboard
open suspend override fun read(position: Long, buffer: ByteArray, offset: Int, len: Int): Int
Link copied to clipboard
suspend fun AsyncStreamBase.readBytes(position: Long, count: Int): ByteArray
Link copied to clipboard
open suspend override fun setLength(value: Long)
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
open suspend override fun write(position: Long, buffer: ByteArray, offset: Int, len: Int)