Solutions
Multiplatform
Server-side
Data science
Android
Docs
Community
Teach
Play
Playground
Examples
Koans
toggle menu
kotlinx-serialization
1.7.2
common
switch theme
search in API
kotlinx-serialization-core
/
kotlinx.serialization.encoding
/
Encoder
/
encodeInt
encode
Int
abstract
fun
encodeInt
(
value
:
Int
)
(
source
)
Encodes a 32-bit integer value. Corresponding kind is
PrimitiveKind.INT
.