MemoryAsyncStreamBase

Constructors

Link copied to clipboard
constructor(initialCapacity: Int = 4096)
constructor(data: ByteArrayBuilder)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun checkPosition(position: Long)
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)