serialize

fun serialize(parameterSerializer: KSerializer<P>): ByteArray(source)