serialize

fun serialize(buffer: ByteBuffer)