Azure.Storage.StreamExtensions
Extension methods for working with Streams.
namespace Azure.Storage
{
internal static class StreamExtensions
{
public static Stream WithNoDispose(this Stream stream);
public static long? GetLengthOrDefault(this Stream content);
public static Task<int> ReadInternal(this Stream stream, byte[] buffer, int offset, int count, bool async, CancellationToken cancellationToken);
public static Task WriteInternal(this Stream stream, byte[] buffer, int offset, int count, bool async, CancellationToken cancellationToken);
public static Task CopyToInternal(this Stream src, Stream dest, bool async, CancellationToken cancellationToken);
public static Task CopyToInternal(this Stream src, Stream dest, int bufferSize, bool async, CancellationToken cancellationToken);
}
}