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
  1. Alphabetic
  2. By Inheritance
Inherited
  1. StreamingByteReader
  2. ByteReader
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new StreamingByteReader(rangeReader: RangeReader, chunkSize: Int = 45876)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. def get: Byte
    Definition Classes
    StreamingByteReaderByteReader
  10. def getBytes(length: Int): Array[Byte]
    Definition Classes
    StreamingByteReaderByteReader
  11. def getChar: Char
    Definition Classes
    StreamingByteReaderByteReader
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def getDouble: Double
    Definition Classes
    StreamingByteReaderByteReader
  14. def getFloat: Float
    Definition Classes
    StreamingByteReaderByteReader
  15. def getInt: Int
    Definition Classes
    StreamingByteReaderByteReader
  16. def getLong: Long
    Definition Classes
    StreamingByteReaderByteReader
  17. def getShort: Short
    Definition Classes
    StreamingByteReaderByteReader
  18. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def order(byteOrder: ByteOrder): Unit
    Definition Classes
    StreamingByteReaderByteReader
  24. def order(): ByteOrder
    Definition Classes
    StreamingByteReaderByteReader
  25. def position(newPosition: Long): ByteReader
    Definition Classes
    StreamingByteReaderByteReader
  26. def position(): Long
    Definition Classes
    StreamingByteReaderByteReader
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from ByteReader

Inherited from AnyRef

Inherited from Any

Ungrouped