mot.buffer

ReadBuffer

Related Docs: object ReadBuffer | package buffer

final class ReadBuffer extends AnyRef

A buffer for reading bytes from an InputStream. At any time, the buffer is partitioned into three sections, from left to right: consumed, pending and free. Consumed bytes were read from the InputStream and also passed to the application. This data can be deleted. Pending bytes were read from the InputStream and not passed to the application. Free space at the end of the buffer is not occupied by useful bytes, new read from the InputStream go here.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ReadBuffer
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ReadBuffer(is: InputStream, bufferSize: Int)

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. val array: Array[Byte]

  5. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  6. val bufferSize: Int

  7. def bytesCount(): Long

  8. def clear(): Unit

  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def compress(): Unit

  11. def consumed(): Int

  12. def discard(length: Int): Unit

  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  15. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def freeSpace(): Int

  17. def fullReadCount(): Long

  18. def get(): Byte

  19. def get16(): Int

  20. def get24(): Int

  21. def get31(): Int

  22. def get8(): Short

  23. def getByteArray(length: Int): ByteArray

  24. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  25. def hasFreeSpace(): Boolean

  26. def hasLimit(): Boolean

  27. def hasPending(): Boolean

  28. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  29. val is: InputStream

  30. def isCompressed(): Boolean

  31. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  32. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  33. final def notify(): Unit

    Definition Classes
    AnyRef
  34. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  35. def pending(): Int

  36. def readCount(): Long

  37. def remainingLimit(): Int

  38. def resetLimit(): Int

  39. def setLimit(limit: Int): Unit

  40. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  41. def toString(): String

    Definition Classes
    ReadBuffer → AnyRef → Any
  42. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  43. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  44. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped