Add File.WriteAllBytesAsync(string, Memory<byte>, CancellationToken) #41785
Labels
api-suggestion
Early API idea and discussion, it is NOT ready for implementation
area-System.IO
untriaged
New issue has not been triaged by the area owner
There is an async helper method for writing to a file: File.WriteAllBytesAsync(String, Byte[], CancellationToken) Method
The method takes a
byte[]
, potentially forcing sliced bytes to be copied to an array. Should there be an overload that supportsMemory<byte>
?The text was updated successfully, but these errors were encountered: