Writer

abstract class Writer

A write-once Writer.

Functions

Link copied to clipboard
abstract fun add(v: Long)

Add a value to the stream.

Link copied to clipboard

The number of bits per value.

Link copied to clipboard
abstract fun finish()

Perform end-of-stream operations.

Link copied to clipboard
abstract fun ord(): Int

Returns the current ord in the stream (number of values that have been written so far minus one).