<PackageReference Include="Azure.Storage.Files.DataLake" Version="12.26.0-beta.1" />

Azure.Storage.Shared.StorageWriteStream

abstract class StorageWriteStream : Stream
namespace Azure.Storage.Shared { internal abstract class StorageWriteStream : Stream { protected long _position; protected long _bufferSize; protected readonly IProgress<long> _progressHandler; protected readonly PooledMemoryStream _buffer; protected StorageWriteStream(long position, long bufferSize, IProgress<long> progressHandler, UploadTransferValidationOptions transferValidation, PooledMemoryStream buffer = null, ArrayPool<byte> bufferPool = null); protected virtual Task CommitInternal(bool async, CancellationToken cancellationToken); protected abstract Task AppendInternal(UploadTransferValidationOptions validationOptions, bool async, CancellationToken cancellationToken); protected abstract void ValidateBufferSize(long bufferSize); protected Task WriteToBufferInternal(byte[] buffer, int offset, int count, bool async, CancellationToken cancellationToken); protected static void ValidateWriteParameters(byte[] buffer, int offset, int count); protected IDisposable FinalizeAndReplaceBufferChecksum(out UploadTransferValidationOptions validationOptions); } }