kotlinx-serialization / kotlinx.serialization.protobuf / ProtoNumberType

ProtoNumberType

(common, js, jvm, native) enum class ProtoNumberType

Represents a number format in protobuf encoding.

DEFAULT is default varint encoding (intXX), SIGNED is signed ZigZag representation (sintXX), and FIXED is fixedXX type. uintXX and sfixedXX are not supported yet.

See https://developers.google.com/protocol-buffers/docs/proto#scalar

See Also

ProtoType

Enum Values

(common, js, jvm, native)

DEFAULT

(common, js, jvm, native)

SIGNED

(common, js, jvm, native)

FIXED

Inheritors

(common, js, jvm, native)

DEFAULT

(common, js, jvm, native)

FIXED

(common, js, jvm, native)

SIGNED