implicit class RichInputStream extends PartialReader[Byte]
Provides additional methods, over and above those already present in
the Java InputStream class. The implicits object contains implicit
conversions between RichInputStream and InputStream.
- Alphabetic
- By Inheritance
- RichInputStream
- PartialReader
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new RichInputStream(inputStream: InputStream)
- inputStream
the input stream to wrap
Type Members
- type HasRead = AnyRef { def read(): Int }
- Definition Classes
- PartialReader
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def convert(b: Int): Byte
- Attributes
- protected
- Definition Classes
- RichInputStream → PartialReader
- def copyTo(out: OutputStream): Try[Int]
Copy the input stream to an output stream, stopping on EOF.
Copy the input stream to an output stream, stopping on EOF. This method does not close either stream.
- out
the output stream
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val inputStream: InputStream
- 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 readSome(max: Int): List[Byte]
Read up to
maxitems from the reader.Read up to
maxitems from the reader.- max
maximum number of items to read
- returns
a list of the items
- Definition Classes
- PartialReader
- val reader: inputStream.type
- Definition Classes
- RichInputStream → PartialReader
- 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()