serialize

abstract fun serialize(value: T): Array<Byte>