15 [
Obsolete(
"Use FileStream(SafeFileHandle handle, FileAccess access, int bufferSize) instead")]
24 if (
"[Unknown]" ==
null)
28 if (
"[Unknown]" ==
null)
360 while (asyncResult ==
null || (this.
async && asyncResult ==
null))
363 return base.EndRead(asyncResult);
425 while (asyncResult ==
null)
430 base.EndWrite(asyncResult);
433 if (asyncResult !=
null)
508 if (this.
buf ==
null)
526 return base.FlushAsync(cancellationToken);
class f__AnonymousType0<< Count > j__TPar
static bool InternalBlockCopy(Array src, int srcOffsetBytes, Array dst, int dstOffsetBytes, int byteCount)
static void SuppressFinalize(object obj)
IAsyncResult BeginInvoke(byte[] buffer, int offset, int count, AsyncCallback callback, object @object)
ReadDelegate(object @object, IntPtr method)
int EndInvoke(IAsyncResult result)
int Invoke(byte[] buffer, int offset, int count)
void EndInvoke(IAsyncResult result)
IAsyncResult BeginInvoke(byte[] buffer, int offset, int count, AsyncCallback callback, object @object)
WriteDelegate(object @object, IntPtr method)
void Invoke(byte[] buffer, int offset, int count)
override void Write(byte[] array, int offset, int count)
void InitBuffer(int size, bool isZeroSize)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool isAsync, bool anonymous)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool anonymous, FileOptions options)
string GetSecureFileName(string filename, bool full)
override Task< int > ReadAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
override void EndWrite(IAsyncResult asyncResult)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, FileOptions options)
static byte[] buf_recycle
override void Dispose(bool disposing)
int ReadData(SafeHandle safeHandle, byte[] buf, int offset, int count)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize)
int ReadInternal(byte[] dest, int offset, int count)
FileStream(string path, FileMode mode, FileAccess access, FileShare share, int bufferSize, bool useAsync)
SafeFileHandle safeHandle
override void SetLength(long value)
override Task WriteAsync(byte[] buffer, int offset, int count, CancellationToken cancellationToken)
int ReadSegment(byte[] dest, int dest_offset, int count)
int WriteSegment(byte[] src, int src_offset, int count)
override int Read([In][Out] byte[] array, int offset, int count)
override void WriteByte(byte value)
FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
FileStream(IntPtr handle, FileAccess access, bool ownsHandle, int bufferSize)
void Init(SafeFileHandle safeHandle, FileAccess access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)
override int EndRead(IAsyncResult asyncResult)
override IAsyncResult BeginWrite(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
FileStream(string path, FileMode mode, FileAccess access)
override long Seek(long offset, SeekOrigin origin)
override Task FlushAsync(CancellationToken cancellationToken)
void FlushBufferIfDirty()
override IAsyncResult BeginRead(byte[] array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)
void WriteInternal(byte[] src, int offset, int count)
FileStream(string path, FileMode mode)
static readonly object buf_recycle_lock
string GetSecureFileName(string filename)
FileStream(string path, FileMode mode, FileAccess access, FileShare share)
static string GetFullPath(string path)
static string GetFileName(string path)