Enum

class Enum(val name: Identifier, val values: List<EnumValue>) : Type

Constructors

Link copied to clipboard
constructor(name: Identifier, values: List<EnumValue>)

Properties

Link copied to clipboard
open override val name: Identifier
Link copied to clipboard

Functions

Link copied to clipboard
fun decode(number: Int): Int
Link copied to clipboard
fun encode(elementIndex: Int, encodeZeroValue: Boolean): WireValue.VarInt?