kotlinx-serialization / kotlinx.serialization.protobuf / ProtoType / <init>

<init>

(common, js, jvm, native) <init>(type: ProtoNumberType)

Instructs to use a particular ProtoNumberType for a property of integer number type. Affect Byte, Short, Int, Long and Char properties and does not affect others.