Create InputStreamAdapter