BuildOutputStream

class BuildOutputStream(workbench: AvailWorkbench, val streamStyle: StreamStyle) : ByteArrayOutputStream

BuildOutputStream intercepts writes and updates the UI's AvailWorkbench.transcript.

Parameters

streamStyle

What StreamStyle should this stream render with?

Constructors

Link copied to clipboard
fun BuildOutputStream(workbench: AvailWorkbench, streamStyle: StreamStyle)

Construct a new BuildOutputStream.

Functions

Link copied to clipboard
open override fun close()
Link copied to clipboard
open override fun flush()
Link copied to clipboard
open fun reset()
Link copied to clipboard
open fun size(): Int
Link copied to clipboard
open fun toByteArray(): ByteArray
Link copied to clipboard
open override fun toString(): String
open fun toString(p0: Charset): String
open fun toString(p0: Int): String
open fun toString(p0: String): String
Link copied to clipboard
open override fun write(b: ByteArray?)
open override fun write(b: Int)
open override fun write(    b: ByteArray?,     off: Int,     len: Int)
Link copied to clipboard
open fun writeBytes(p0: ByteArray)
Link copied to clipboard
open fun writeTo(p0: OutputStream)

Properties

Link copied to clipboard
val buf: ByteArray
Link copied to clipboard
val count: Int
Link copied to clipboard
val streamStyle: StreamStyle

What StreamStyle should this stream render with?