WriteCountingStream Members

Serilog Sinks AmazonS3

Serilog.Sinks.AmazonS3

WriteCountingStream Members

The WriteCountingStream type exposes the following members.

Constructors


  Name Description
Public method WriteCountingStream
Initializes a new instance of the WriteCountingStream class.

Methods


  Name Description
Public method Flush
When overridden in a derived class, clears all buffers for this stream and causes any buffered data to be written to the underlying device.
Public method Read
When overridden in a derived class, reads a sequence of bytes from the current stream and advances the position within the stream by the number of bytes read.
Public method Seek
When overridden in a derived class, sets the position within the current stream.
Public method SetLength
When overridden in a derived class, sets the length of the current stream.
Public method Write
When overridden in a derived class, writes a sequence of bytes to the current stream and advances the current position within this stream by the number of bytes written.

Properties


  Name Description
Public property CanRead
When overridden in a derived class, gets a value indicating whether the current stream supports reading.
Public property CanSeek
When overridden in a derived class, gets a value indicating whether the current stream supports seeking.
Public property CanWrite
When overridden in a derived class, gets a value indicating whether the current stream supports writing.
Public property CountedLength
Gets the length of the counted value.
Public property Length
When overridden in a derived class, gets the length in bytes of the stream.
Public property Position
When overridden in a derived class, gets or sets the position within the current stream.