Legend

Class
Struct
Enum
Interface
Delegate
Constructor
Method
Property
Event
Field

Constructor: ConsoleLoggingStream(Stream, string, string)

Declaration

public ConsoleLoggingStream(
    Stream underlyingStream,
    string readPrefix,
    string writePrefix
)

Summary

Constructor.

Parameters

StreamunderlyingStreamThe underlying stream on which all operations are to be performed.
stringreadPrefixIf not null, all calls to ConsoleLoggingStream.Read(byte[], int, int) will print a single line to the console starting with this prefix and showing a hex dump of the bytes read.
stringwritePrefixIf not null, all calls to ConsoleLoggingStream.Read(byte[], int, int) will print a single line to the console starting with this prefix and showing a hex dump of the bytes written.