29 _strategy.Position =
value;
173 internal override void Flush(
bool flushToDisk)
static void SuppressFinalize(object obj)
int BaseEndRead(IAsyncResult asyncResult)
Task BaseCopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
int BaseRead(Span< byte > buffer)
void DisposeInternal(bool disposing)
void BaseWrite(ReadOnlySpan< byte > buffer)
ValueTask BaseDisposeAsync()
Task< int > BaseReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
Task BaseFlushAsync(CancellationToken cancellationToken)
Task BaseWriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
IAsyncResult BaseBeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
void BaseEndWrite(IAsyncResult asyncResult)
IAsyncResult BaseBeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
override void SetLength(long value)
override void Write(byte[] buffer, int offset, int count)
override ValueTask WriteAsync(ReadOnlyMemory< byte > buffer, CancellationToken cancellationToken=default(CancellationToken))
~DerivedFileStreamStrategy()
override void EndWrite(IAsyncResult asyncResult)
override void Flush(bool flushToDisk)
override void WriteByte(byte value)
override int EndRead(IAsyncResult asyncResult)
override Task< int > ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
override Task CopyToAsync(Stream destination, int bufferSize, CancellationToken cancellationToken)
override int Read(byte[] buffer, int offset, int count)
override IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
DerivedFileStreamStrategy(FileStream fileStream, FileStreamStrategy strategy)
override void Lock(long position, long length)
override int Read(Span< byte > buffer)
override void Unlock(long position, long length)
override ValueTask DisposeAsync()
override long Seek(long offset, SeekOrigin origin)
override IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback callback, object state)
override ValueTask< int > ReadAsync(Memory< byte > buffer, CancellationToken cancellationToken=default(CancellationToken))
override void DisposeInternal(bool disposing)
override Task FlushAsync(CancellationToken cancellationToken)
override void Write(ReadOnlySpan< byte > buffer)
readonly FileStream _fileStream
override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
readonly FileStreamStrategy _strategy
void Unlock(long position, long length)
void DisposeInternal(bool disposing)
void Flush(bool flushToDisk)
void Lock(long position, long length)
SafeFileHandle SafeFileHandle
void SetLength(long value)
long Seek(long offset, SeekOrigin origin)
virtual void EndWrite(IAsyncResult asyncResult)
int Read(byte[] buffer, int offset, int count)
void Write(byte[] buffer, int offset, int count)
virtual IAsyncResult BeginRead(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
virtual void WriteByte(byte value)
virtual IAsyncResult BeginWrite(byte[] buffer, int offset, int count, AsyncCallback? callback, object? state)
virtual int EndRead(IAsyncResult asyncResult)