serialize

open fun serialize(encoder: <ERROR CLASS>, value: ByteArrayAllocator)