Skip to content

PooledBufferStream Properties

A System.Buffers.IBufferWriter implementation which boxes another buffer writer.

CanRead

overrideget
View source
public override bool CanRead
When overridden in a derived class, gets a value indicating whether the current stream supports reading.

Returns

true if the stream supports reading; otherwise, false.

CanSeek

overrideget
View source
public override bool CanSeek
When overridden in a derived class, gets a value indicating whether the current stream supports seeking.

Returns

true if the stream supports seeking; otherwise, false.

CanWrite

overrideget
View source
public override bool CanWrite
When overridden in a derived class, gets a value indicating whether the current stream supports writing.

Returns

true if the stream supports writing; otherwise, false.

Length

overrideget
View source
public override long Length
Gets the total length which has been written.

Position

overridegetset
View source
public override long Position
When overridden in a derived class, gets or sets the position within the current stream.

Returns

The current position within the stream.

Exceptions

System.IO.IOException
An I/O error occurs.
System.NotSupportedException
The stream does not support seeking.
System.ObjectDisposedException
Methods were called after the stream was closed.