Zdexby TheHolyOneZ
42,610 classes
Class

FileStream

: Stream : MarshalByRefObject : Object
System.IO.FileStream, mscorlib 0x0070 (112 B) inherited 0x0028 mscorlib.dll
0x00x0070

Members 17

OffsetSizeNameTypeFlagsDefault
0x08buf_recyclebyte[]PrivateStatic—
0x08buf_recycle_lockobjectPrivateStatic+1 flags—
0x08bufbyte[]Private—
0x08namestringPrivate—
0x08safeHandleSafeFileHandlePrivate—
0x01isExposedboolPrivate—
0x00410x07padding / unreflected
0x08append_startposlongPrivate—
0x04accessFileAccessPrivate—
0x01ownerboolPrivate—
0x01asyncboolPrivate—
0x01canseekboolPrivate—
0x01anonymousboolPrivate—
0x01buf_dirtyboolPrivate—
0x00590x03padding / unreflected
0x04buf_sizeintPrivate—
0x04buf_lengthintPrivate—
0x04buf_offsetintPrivate—
0x08buf_startlongPrivate—
Inherited from Stream 4
OffsetSizeNameTypeFlagsDefault
0x08NullStreamPublicStatic+1 flags—
—0x04DefaultCopyBufferSizeintPrivateStatic+1 flags56004448
0x00080x10padding / unreflected
0x08_activeReadWriteTaskReadWriteTaskPrivate+1 flags—
0x08_asyncActiveSemaphoreSemaphoreSlimPrivate+1 flags—
Inherited from MarshalByRefObject 1
OffsetSizeNameTypeFlagsDefault
0x08_identityobjectPrivate+1 flags—

Functions 47

SignatureFlagsNativeParams
void .ctor(long handle, const FileAccess& access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)2 flags0x08
void .ctor(const string& path, const FileMode& mode)Public+1 flags0x08
void .ctor(const string& path, const FileMode& mode, const FileAccess& access)Public+1 flags0x08
void .ctor(const string& path, const FileMode& mode, const FileAccess& access, const FileShare& share)Public+1 flags0x08
void .ctor(const string& path, const FileMode& mode, const FileAccess& access, const FileShare& share, int bufferSize)Public+1 flags0x08
void .ctor(const string& path, const FileMode& mode, const FileAccess& access, const FileShare& share, int bufferSize, bool useAsync)Public+1 flags0x08
void .ctor(const string& path, const FileMode& mode, const FileAccess& access, const FileShare& share, int bufferSize, const FileOptions& options)Public+1 flags0x08
void .ctor(const string& path, const FileMode& mode, const FileAccess& access, const FileShare& share, int bufferSize, bool isAsync, bool anonymous)2 flags0x08
void .ctor(const string& path, const FileMode& mode, const FileAccess& access, const FileShare& share, int bufferSize, bool anonymous, const FileOptions& options)2 flags0x08
void Init(SafeFileHandle safeHandle, const FileAccess& access, bool ownsHandle, int bufferSize, bool isAsync, bool isConsoleWrapper)Private0x08
bool get_CanRead()Public+2 flags0x01
bool get_CanWrite()Public+2 flags0x01
bool get_CanSeek()Public+2 flags0x01
string get_Name()Public+3 flags0x08
long get_Length()Public+2 flags0x08
long get_Position()Public+2 flags0x08
void set_Position(long value)Public+2 flags0x08
SafeFileHandle get_SafeFileHandle()Public+3 flags0x08
void ExposeHandle()Private0x00
int ReadByte()Public+1 flags0x04
void WriteByte(byte value)Public+1 flags0x01
int Read(const byte[]& array, int offset, int count)Public+1 flags0x08
int ReadInternal(const byte[]& dest, int offset, int count)Private0x08
IAsyncResult BeginRead(const byte[]& array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)Public+1 flags0x08
int EndRead(IAsyncResult asyncResult)Public+1 flags0x08
void Write(const byte[]& array, int offset, int count)Public+1 flags0x08
void WriteInternal(const byte[]& src, int offset, int count)Private0x08
IAsyncResult BeginWrite(const byte[]& array, int offset, int numBytes, AsyncCallback userCallback, object stateObject)Public+1 flags0x08
void EndWrite(IAsyncResult asyncResult)Public+1 flags0x08
long Seek(long offset, const SeekOrigin& origin)Public+1 flags0x08
void SetLength(long value)Public+1 flags0x08
void Flush()Public+1 flags0x00
void Finalize()2 flags0x00
void Dispose(bool disposing)2 flags0x01
Task FlushAsync(const CancellationToken& cancellationToken)Public+1 flags0x08
Task<System.Int32> ReadAsync(const byte[]& buffer, int offset, int count, const CancellationToken& cancellationToken)Public+1 flags0x08
Task WriteAsync(const byte[]& buffer, int offset, int count, const CancellationToken& cancellationToken)Public+1 flags0x08
int ReadSegment(const byte[]& dest, int dest_offset, int count)Private0x08
int WriteSegment(const byte[]& src, int src_offset, int count)Private0x08
void FlushBuffer()Private0x00
void FlushBufferIfDirty()Private0x00
void RefillBuffer()Private0x00
int ReadData(SafeHandle safeHandle, const byte[]& buf, int offset, int count)Private0x08
void InitBuffer(int size, bool isZeroSize)Private0x04
string GetSecureFileName(const string& filename)Private0x08
string GetSecureFileName(const string& filename, bool full)Private0x08
void .cctor()PrivateStatic+1 flags0x00

Subclasses 1

Used by 2

types with a member, parameter or interface of this type