OutputStream

class OutputStream(val wrapped: InputStream) extends InputStream with DataInput with ByteData

A combination BufferedReader and java.io.InputStream, this allows you to read both bytes and lines, without worrying about the buffer used for reading lines messing up your reading of bytes.

Note that all reads that occur through this class are thread-safe and synchronized. If you wish to perform writes without the synchronization overhead, you can use the underlying wrapped stream directly

trait ByteData
trait DataInput
trait Closeable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def close(): Unit
Definition Classes
def read(): Int
override def read(b: Array[Byte]): Int
Definition Classes
override def read(b: Array[Byte], off: Int, len: Int): Int
Definition Classes
def readByte(): Byte
def readChar(): Char
def readFully(b: Array[Byte], off: Int, len: Int): Unit
def readInt(): Int
def readLong(): Long
def skipBytes(n: Int): Int

Inherited methods

@throws(java.io.IOException)
def available(): Int
Inherited from:
InputStream
def lines(codec: Codec): Vector[String]
Inherited from:
ByteData
Inherited from:
ByteData
def mark(x$0: Int): Unit
Inherited from:
InputStream
Inherited from:
InputStream
@throws(java.io.IOException)
def reset(): Unit
Inherited from:
InputStream
@throws(java.io.IOException)
def skip(x$0: Long): Long
Inherited from:
InputStream
def text(codec: Codec): String
Inherited from:
ByteData
def text(): String
Inherited from:
ByteData
def trim(codec: Codec): String
Inherited from:
ByteData
def trim(): String
Inherited from:
ByteData