encode

abstract fun encode(buffer: WriteBuffer, value: T, context: EncodeContext)