StreamReaderProtocol

Helper class to adapt between $(D_PSYMBOL Protocol) and $(D_PSYMBOL StreamReader).

(This is a helper class instead of making StreamReader itself a $(D_PSYMBOL Protocol) subclass, because the StreamReader has other potential uses, and to prevent the user of the StreamReader to accidentally call inappropriate methods of the protocol.)

class StreamReaderProtocol : FlowControlProtocol {}

Meta