NullReader

A Reader which has all its values equal to 0 (bitsPerValue = 0).

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Returns nested resources of this class. The result should be a point-in-time snapshot (to avoid race conditions).

Functions

Link copied to clipboard
open override fun get(index: Int): Long

Get the long at the given index. Behavior is undefined for out-of-range indices.

open override fun get(index: Int, arr: LongArray, off: Int, len: Int): Int

Bulk get: read at least one and at most len longs starting from index * into arr[off:off+len] and return the actual number of values that have been read.

Link copied to clipboard
open override fun ramBytesUsed(): Long

Return the memory usage of this object in bytes. Negative values are illegal.

Link copied to clipboard
open override fun size(): Int