asInputStream

fun <T : Any> asInputStream(serializer: KSerializer<T>, input: T): InputStream(source)