Builder

class Builder(val bitsPerItem: Int)

Builder class for StatusList.

This helps creating StatusList from a set of per-index status codes. Only non-zero status values need to be supplied.

Parameters

bitsPerItem

number of bits per status code, must be 1, 2, 4, or 8.

Constructors

Link copied to clipboard
constructor(bitsPerItem: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun addStatus(index: Int, status: Int)

Adds a new status code.

Link copied to clipboard

Builds a new StatusList object for the data provided.