OutputStream

os.SubProcess.OutputStream
class OutputStream(val wrapped: InputStream) extends InputStream, DataInput, 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

Attributes

Graph
Supertypes
trait ByteData
trait DataInput
class InputStream
trait Closeable
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def bytes: Array[Byte]
override def close(): Unit

Attributes

Definition Classes
def read(): Int
override def read(b: Array[Byte]): Int

Attributes

Definition Classes
override def read(b: Array[Byte], off: Int, len: Int): Int

Attributes

Definition Classes
def readByte(): Byte
def readChar(): Char
def readFloat(): Float
def readFully(b: Array[Byte]): Unit
def readFully(b: Array[Byte], off: Int, len: Int): Unit
def readInt(): Int
def readLine(): String
def readLong(): Long
def readShort(): Short
def readUTF(): String
def skipBytes(n: Int): Int

Inherited methods

def available(): Int

Attributes

Inherited from:
InputStream

Attributes

Inherited from:
ByteData
def lines(): Vector[String]

Attributes

Inherited from:
ByteData
def mark(x$0: Int): Unit

Attributes

Inherited from:
InputStream

Attributes

Inherited from:
InputStream

Attributes

Inherited from:
InputStream

Attributes

Inherited from:
InputStream

Attributes

Inherited from:
InputStream
def reset(): Unit

Attributes

Inherited from:
InputStream
def skip(x$0: Long): Long

Attributes

Inherited from:
InputStream

Attributes

Inherited from:
ByteData
def text(): String

Attributes

Inherited from:
ByteData

Attributes

Inherited from:
InputStream

Attributes

Inherited from:
ByteData
def trim(): String

Attributes

Inherited from:
ByteData