NybbleOutputStream

class NybbleOutputStream @JvmOverloads constructor(size: Int = 0) : ByteArrayOutputStream

NybbleOutputStream is a ByteArrayOutputStream that enforces that only nybbles — values in [0..15] — are written.

Author

Todd L Smith

Constructors

Link copied to clipboard
fun NybbleOutputStream(size: Int = 0)

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)