scala.scalajs.js.typedarray

ArrayBufferInputStream

class ArrayBufferInputStream extends InputStream

A java.io.InputStream wrapping a JavaScript ArrayBuffer

This class is extremely similar to a ByteArrayInputStream, but uses ArrayBuffers as the underlying representation. Stream implementations may special case on this stream for better performance and access the underlying buffer directly. (They still need to make sure the internal pointers are properly aligned though).

Linear Supertypes
InputStream, Closeable, AutoCloseable, AnyRef, scala.Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. ArrayBufferInputStream
  2. InputStream
  3. Closeable
  4. AutoCloseable
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ArrayBufferInputStream(buffer: ArrayBuffer)

    Convenience constructor.

    Convenience constructor. Strictly equivalent to {{new ArrayBufferInputStream(buffer, 0, buffer.byteLength)}

  2. new ArrayBufferInputStream(buffer: ArrayBuffer, offset: Int, length: Int)

    buffer

    Underlying ArrayBuffer

    offset

    Offset in bytes in buffer

    length

    Length in bytes in buffer

Value Members

  1. final def !=(arg0: scala.Any): scala.Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def +(other: Predef.String): Predef.String

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to any2stringadd[ArrayBufferInputStream] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ArrayBufferInputStream, B)

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to ArrowAssoc[ArrayBufferInputStream] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: scala.Any): scala.Boolean

    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def available(): Int

    Definition Classes
    ArrayBufferInputStream → InputStream
  8. val buffer: ArrayBuffer

    Underlying ArrayBuffer

  9. def clone(): AnyRef

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

    Definition Classes
    InputStream → Closeable → AutoCloseable
    Annotations
    @throws( classOf[java.io.IOException] )
  11. val count: Int

    Attributes
    protected
  12. def ensuring(cond: (ArrayBufferInputStream) ⇒ scala.Boolean, msg: ⇒ scala.Any): ArrayBufferInputStream

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to Ensuring[ArrayBufferInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: (ArrayBufferInputStream) ⇒ scala.Boolean): ArrayBufferInputStream

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to Ensuring[ArrayBufferInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: scala.Boolean, msg: ⇒ scala.Any): ArrayBufferInputStream

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to Ensuring[ArrayBufferInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. def ensuring(cond: scala.Boolean): ArrayBufferInputStream

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to Ensuring[ArrayBufferInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. final def eq(arg0: AnyRef): scala.Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def formatted(fmtstr: Predef.String): Predef.String

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to StringFormat[ArrayBufferInputStream] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  20. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  21. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  22. final def isInstanceOf[T0]: scala.Boolean

    Definition Classes
    Any
  23. val length: Int

    Length in bytes in buffer

  24. def mark(readlimit: Int): Unit

    Definition Classes
    ArrayBufferInputStream → InputStream
  25. var mark: Int

    Attributes
    protected
  26. def markSupported(): scala.Boolean

    Definition Classes
    ArrayBufferInputStream → InputStream
  27. final def ne(arg0: AnyRef): scala.Boolean

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

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

    Definition Classes
    AnyRef
  30. val offset: Int

    Offset in bytes in buffer

  31. var pos: Int

    Attributes
    protected
  32. def read(b: scala.Array[Byte], off: Int, reqLen: Int): Int

    Definition Classes
    ArrayBufferInputStream → InputStream
  33. def read(): Int

    Definition Classes
    ArrayBufferInputStream → InputStream
  34. def read(arg0: scala.Array[Byte]): Int

    Definition Classes
    InputStream
    Annotations
    @throws( classOf[java.io.IOException] )
  35. def reset(): Unit

    Definition Classes
    ArrayBufferInputStream → InputStream
  36. def skip(n: Long): Long

    Definition Classes
    ArrayBufferInputStream → InputStream
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): java.lang.String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def [B](y: B): (ArrayBufferInputStream, B)

    Implicit information
    This member is added by an implicit conversion from ArrayBufferInputStream to ArrowAssoc[ArrayBufferInputStream] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from InputStream

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from scala.Any

Inherited by implicit conversion any2stringadd from ArrayBufferInputStream to any2stringadd[ArrayBufferInputStream]

Inherited by implicit conversion StringFormat from ArrayBufferInputStream to StringFormat[ArrayBufferInputStream]

Inherited by implicit conversion Ensuring from ArrayBufferInputStream to Ensuring[ArrayBufferInputStream]

Inherited by implicit conversion ArrowAssoc from ArrayBufferInputStream to ArrowAssoc[ArrayBufferInputStream]

Ungrouped