c

org.apache.pekko.io

UnsynchronizedByteArrayInputStream

class UnsynchronizedByteArrayInputStream extends InputStream

Internal API: An unsynchronized byte array input stream. This class does not copy the provided byte array, and it is not thread safe.

Annotations
@InternalApi()
Source
UnsynchronizedByteArrayInputStream.java
Since

2.0.0

See also

ByteArrayInputStream

Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UnsynchronizedByteArrayInputStream
  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
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UnsynchronizedByteArrayInputStream(data: Array[Byte], offset: Int, length: Int)

    Constructs a new byte array input stream.

    Constructs a new byte array input stream.

    data

    the buffer

    offset

    the offset into the buffer

    length

    the length of the buffer

    Exceptions thrown

    IllegalArgumentException if the offset or length less than zero

  2. new UnsynchronizedByteArrayInputStream(data: Array[Byte])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toany2stringadd[UnsynchronizedByteArrayInputStream] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (UnsynchronizedByteArrayInputStream, B)
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toArrowAssoc[UnsynchronizedByteArrayInputStream] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def available(): Int
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @Override()
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. def close(): Unit
    Definition Classes
    InputStream → Closeable → AutoCloseable
    Annotations
    @throws(classOf[java.io.IOException])
  10. def ensuring(cond: (UnsynchronizedByteArrayInputStream) => Boolean, msg: => Any): UnsynchronizedByteArrayInputStream
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toEnsuring[UnsynchronizedByteArrayInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (UnsynchronizedByteArrayInputStream) => Boolean): UnsynchronizedByteArrayInputStream
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toEnsuring[UnsynchronizedByteArrayInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: => Any): UnsynchronizedByteArrayInputStream
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toEnsuring[UnsynchronizedByteArrayInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): UnsynchronizedByteArrayInputStream
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toEnsuring[UnsynchronizedByteArrayInputStream] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def mark(readLimit: Int): Unit
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @SuppressWarnings() @Override()
  20. def markSupported(): Boolean
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @Override()
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  24. def read(dest: Array[Byte], off: Int, len: Int): Int
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @Override()
  25. def read(dest: Array[Byte]): Int
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @Override()
  26. def read(): Int
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @Override()
  27. def readAllBytes(): Array[Byte]
    Definition Classes
    InputStream
    Annotations
    @throws(classOf[java.io.IOException])
  28. def readNBytes(arg0: Array[Byte], arg1: Int, arg2: Int): Int
    Definition Classes
    InputStream
    Annotations
    @throws(classOf[java.io.IOException])
  29. def readNBytes(arg0: Int): Array[Byte]
    Definition Classes
    InputStream
    Annotations
    @throws(classOf[java.io.IOException])
  30. def reset(): Unit
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @SuppressWarnings() @Override()
  31. def skip(n: Long): Long
    Definition Classes
    UnsynchronizedByteArrayInputStream → InputStream
    Annotations
    @Override()
  32. def skipNBytes(arg0: Long): Unit
    Definition Classes
    InputStream
    Annotations
    @throws(classOf[java.io.IOException])
  33. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  34. def toString(): String
    Definition Classes
    AnyRef → Any
  35. def transferTo(arg0: OutputStream): Long
    Definition Classes
    InputStream
    Annotations
    @throws(classOf[java.io.IOException])
  36. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  37. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  38. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toStringFormat[UnsynchronizedByteArrayInputStream] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

  3. def [B](y: B): (UnsynchronizedByteArrayInputStream, B)
    Implicit
    This member is added by an implicit conversion from UnsynchronizedByteArrayInputStream toArrowAssoc[UnsynchronizedByteArrayInputStream] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use -> instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.

Inherited from InputStream

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd fromUnsynchronizedByteArrayInputStream to any2stringadd[UnsynchronizedByteArrayInputStream]

Inherited by implicit conversion StringFormat fromUnsynchronizedByteArrayInputStream to StringFormat[UnsynchronizedByteArrayInputStream]

Inherited by implicit conversion Ensuring fromUnsynchronizedByteArrayInputStream to Ensuring[UnsynchronizedByteArrayInputStream]

Inherited by implicit conversion ArrowAssoc fromUnsynchronizedByteArrayInputStream to ArrowAssoc[UnsynchronizedByteArrayInputStream]

Ungrouped