class StreamingByteReader extends ByteReader
This class extends ByteReader who's source of bytes is from a RangeReader instance.
The StreamingByteReader will read ranges of bytes (chunks) from a source using a RangeReader. If bytes are requested from it that require chunks it does not have, it will fetch those chunks and store them in memory. If the maximum number of chunks is reached, the oldest chunks will be kicked out.
- returns
A new instance of StreamingByteReader
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- StreamingByteReader
- ByteReader
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new StreamingByteReader(rangeReader: RangeReader, chunkSize: Int = 45876)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def get: Byte
- Definition Classes
- StreamingByteReader → ByteReader
- def getBytes(length: Int): Array[Byte]
- Definition Classes
- StreamingByteReader → ByteReader
- def getChar: Char
- Definition Classes
- StreamingByteReader → ByteReader
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getDouble: Double
- Definition Classes
- StreamingByteReader → ByteReader
- def getFloat: Float
- Definition Classes
- StreamingByteReader → ByteReader
- def getInt: Int
- Definition Classes
- StreamingByteReader → ByteReader
- def getLong: Long
- Definition Classes
- StreamingByteReader → ByteReader
- def getShort: Short
- Definition Classes
- StreamingByteReader → ByteReader
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def order(byteOrder: ByteOrder): Unit
- Definition Classes
- StreamingByteReader → ByteReader
- def order(): ByteOrder
- Definition Classes
- StreamingByteReader → ByteReader
- def position(newPosition: Long): ByteReader
- Definition Classes
- StreamingByteReader → ByteReader
- def position(): Long
- Definition Classes
- StreamingByteReader → ByteReader
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()