FastByteArrayInputStream

class FastByteArrayInputStream(val ba: ByteArray, offset: Int = 0, val start: Int = 0, val end: Int = ba.size)

Constructors

Link copied to clipboard
constructor(ba: ByteArray, offset: Int = 0, start: Int = 0, end: Int = ba.size)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val end: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val length: Int
Link copied to clipboard
Link copied to clipboard
val start: Int = 0

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun extractBytes(offset: Int, length: Int): ByteArray
Link copied to clipboard
fun extractString(offset: Int, length: Int, charset: Charset = UTF8): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun read(data: ByteArray, offset: Int = 0, count: Int = data.size - offset): Int
Link copied to clipboard
Link copied to clipboard
fun readBytes(count: Int): ByteArray
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun readS16BE(): Int
Link copied to clipboard
fun readS16LE(): Int
Link copied to clipboard
fun readS24BE(): Int
Link copied to clipboard
fun readS24LE(): Int
Link copied to clipboard
fun readS32BE(): Int
Link copied to clipboard
fun readS32LE(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun readS8(): Int
Link copied to clipboard
fun readS_VL(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun readString(len: Int, charset: Charset = UTF8): String
Link copied to clipboard
fun readStringVL(charset: Charset = UTF8): String
Link copied to clipboard
fun readStringz(charset: Charset = UTF8): String
fun readStringz(len: Int, charset: Charset = UTF8): String
Link copied to clipboard
fun readU16BE(): Int
Link copied to clipboard
fun readU16LE(): Int
Link copied to clipboard
fun readU24BE(): Int
Link copied to clipboard
fun readU24LE(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun readU8(): Int
Link copied to clipboard
fun readU_VL(): Int
Link copied to clipboard
fun skip(count: Int)
Link copied to clipboard
fun skipToAlign(count: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun unread(count: Int)