Zdexby TheHolyOneZ
49,743 classes
Class

BufferedStream

: Stream : MarshalByRefObject : Object
System.IO.BufferedStream, mscorlib 0x0058 (88 B) inherited 0x0028 mscorlib.dll
0x00x0058

Members 8

OffsetSizeNameTypeFlagsDefault
0x08_streamStreamPrivate—
0x08_bufferbyte[]Private—
0x04_bufferSizeintPrivate+1 flags—
0x04_readPosintPrivate—
0x04_readLenintPrivate—
0x04_writePosintPrivate—
0x08_lastSyncCompletedReadTaskTask<System.Int32>Private—
0x08_asyncActiveSemaphoreSemaphoreSlimPrivate—
Inherited from Stream 3
OffsetSizeNameTypeFlagsDefault
0x08NullStreamPublicStatic+1 flags—
0x00080x10padding / unreflected
0x08_activeReadWriteTaskReadWriteTaskPrivate+1 flags—
0x08_asyncActiveSemaphoreSemaphoreSlimPrivate+1 flags—
Inherited from MarshalByRefObject 1
OffsetSizeNameTypeFlagsDefault
0x08_identityobjectPrivate+1 flags—

Functions 52

SignatureFlagsNativeParams
SemaphoreSlim LazyEnsureAsyncActiveSemaphoreInitialized()1 flags0x08
void .ctor(Stream stream)Public+1 flags0x08
void .ctor(Stream stream, int bufferSize)Public+1 flags0x08
void EnsureNotClosed()Private0x00
void EnsureCanSeek()Private0x00
void EnsureCanRead()Private0x00
void EnsureCanWrite()Private0x00
void EnsureShadowBufferAllocated()Private0x00
void EnsureBufferAllocated()Private0x00
bool get_CanRead()Public+2 flags0x01
bool get_CanWrite()Public+2 flags0x01
bool get_CanSeek()Public+2 flags0x01
long get_Length()Public+2 flags0x08
long get_Position()Public+2 flags0x08
void set_Position(long value)Public+2 flags0x08
ValueTask DisposeAsync()Public+1 flags0x10
void Dispose(bool disposing)2 flags0x01
void Flush()Public+1 flags0x00
Task FlushAsync(const CancellationToken& cancellationToken)Public+1 flags0x08
Task FlushAsyncInternal(const CancellationToken& cancellationToken)Private0x08
void FlushRead()Private0x00
void ClearReadBufferBeforeWrite()Private0x00
void FlushWrite()Private0x00
Task FlushWriteAsync(const CancellationToken& cancellationToken)Private0x08
int ReadFromBuffer(const byte[]& array, int offset, int count)Private0x08
int ReadFromBuffer(const Span<System.Byte>& destination)Private0x10
int ReadFromBuffer(const byte[]& array, int offset, int count, ref Exception& error)Private0x08
int Read(const byte[]& array, int offset, int count)Public+1 flags0x08
int Read(const Span<System.Byte>& destination)Public+1 flags0x10
Task<System.Int32> LastSyncCompletedReadTask(int val)Private0x08
Task<System.Int32> ReadAsync(const byte[]& buffer, int offset, int count, const CancellationToken& cancellationToken)Public+1 flags0x08
ValueTask<System.Int32> ReadAsync(const Memory<System.Byte>& buffer, const CancellationToken& cancellationToken)Public+1 flags0x10
ValueTask<System.Int32> ReadFromUnderlyingStreamAsync(const Memory<System.Byte>& buffer, const CancellationToken& cancellationToken, int bytesAlreadySatisfied, Task semaphoreLockTask)Private0x10
IAsyncResult BeginRead(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state)Public+1 flags0x08
int EndRead(IAsyncResult asyncResult)Public+1 flags0x08
int ReadByte()Public+1 flags0x04
int ReadByteSlow()Private0x04
void WriteToBuffer(const byte[]& array, ref int& offset, ref int& count)Private0x08
int WriteToBuffer(const ReadOnlySpan<System.Byte>& buffer)Private0x10
void Write(const byte[]& array, int offset, int count)Public+1 flags0x08
void Write(const ReadOnlySpan<System.Byte>& buffer)Public+1 flags0x10
Task WriteAsync(const byte[]& buffer, int offset, int count, const CancellationToken& cancellationToken)Public+1 flags0x08
ValueTask WriteAsync(const ReadOnlyMemory<System.Byte>& buffer, const CancellationToken& cancellationToken)Public+1 flags0x10
Task WriteToUnderlyingStreamAsync(const ReadOnlyMemory<System.Byte>& buffer, const CancellationToken& cancellationToken, Task semaphoreLockTask)Private0x10
IAsyncResult BeginWrite(const byte[]& buffer, int offset, int count, AsyncCallback callback, object state)Public+1 flags0x08
void EndWrite(IAsyncResult asyncResult)Public+1 flags0x08
void WriteByte(byte value)Public+1 flags0x01
long Seek(long offset, const SeekOrigin& origin)Public+1 flags0x08
void SetLength(long value)Public+1 flags0x08
void CopyTo(Stream destination, int bufferSize)Public+1 flags0x08
Task CopyToAsync(Stream destination, int bufferSize, const CancellationToken& cancellationToken)Public+1 flags0x08
Task CopyToAsyncCore(Stream destination, int bufferSize, const CancellationToken& cancellationToken)Private0x08

Used by 6

types with a member, parameter or interface of this type