Is there a better way to implement conversion from a regular (large) string to [IInputStream](https://msdn.microsoft.com/en-us/windows/windows.storage.streams.iinputstream) than this:

```cs
public static async Task<IInputStream> ToInputStream(this string input)
{
    byte[] bytes = Encoding.UTF8.GetBytes(input);

    var memoryStream = new InMemoryRandomAccessStream();
    await memoryStream.WriteAsync(bytes.AsBuffer());
    await memoryStream.FlushAsync();
    memoryStream.Seek(0);

    return memoryStream;
}

```