toggle menu
protobuf-kotlin
0.5.0
common
switch theme
search in API
protobuf-kotlin-serialization
/
pro.felixo.protobuf.serialization
/
Enum
Enum
class
Enum
(
val
name
:
Identifier
,
val
values
:
List
<
EnumValue
>
)
:
Type
Members
Constructors
Enum
Link copied to clipboard
constructor
(
name
:
Identifier
,
values
:
List
<
EnumValue
>
)
Properties
name
Link copied to clipboard
open
override
val
name
:
Identifier
values
Link copied to clipboard
val
values
:
List
<
EnumValue
>
Functions
decode
Link copied to clipboard
fun
decode
(
number
:
Int
)
:
Int
encode
Link copied to clipboard
fun
encode
(
elementIndex
:
Int
,
encodeZeroValue
:
Boolean
)
:
WireValue.VarInt
?