ToOutputStream

final class ToOutputStream(outputStream: OutputStream) extends ToOutputStreamBase

Default, mutable implementation for serializing to OutputStream instances.

NOTE: The given OutputStream is NOT closed at the end of the encoding run!

trait Output
class Object
trait Matchable
class Any

Type members

Types

type Result = OutputStream

Value members

Concrete methods

def result(): Result

Inherited methods

final def writeByte(byte: Byte): Self
Inherited from:
ToOutputStreamBase
final def writeBytes[Bytes](bytes: Bytes)(implicit byteAccess: ByteAccess[Bytes]): Self
Inherited from:
ToOutputStreamBase
final def writeBytes(a: Byte, b: Byte, c: Byte, d: Byte): Self
Inherited from:
ToOutputStreamBase
final def writeBytes(a: Byte, b: Byte, c: Byte): Self
Inherited from:
ToOutputStreamBase
final def writeBytes(a: Byte, b: Byte): Self
Inherited from:
ToOutputStreamBase
def writeInt(value: Int): Self
Inherited from:
Output
def writeLong(value: Long): Self
Inherited from:
Output
def writeShort(value: Short): Self
Inherited from:
Output