ReadonlySyncStreamBase

class ReadonlySyncStreamBase(var data: ByteArray, val offset: Int = 0, val size: Int = data.size - offset) : SyncStreamBase

Constructors

Link copied to clipboard
constructor(data: ByteArray, offset: Int = 0, size: Int = data.size - offset)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var length: Long
Link copied to clipboard
val offset: Int = 0
Link copied to clipboard
open val seekable: Boolean
Link copied to clipboard
Link copied to clipboard
val size: Int
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun checkPosition(position: Long)
Link copied to clipboard
open override fun close()
Link copied to clipboard
Link copied to clipboard
open fun flush()
Link copied to clipboard
fun open(position: Long = 0): SyncStream
Link copied to clipboard
open override fun read(position: Long, buffer: ByteArray, offset: Int, len: Int): Int
fun read(position: Long): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
Link copied to clipboard
open override fun write(position: Long, buffer: ByteArray, offset: Int, len: Int)