serialize

open override fun serialize(encoder: Encoder, value: Int)

serialize value with encoder

Parameters

encoder

encoder object

value

value to encode