encode

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