public Utf8JsonReader( IQuickListeningSocket quickListeningSocket, IFramingStrategy framingStrategy) { QuickListeningSocket = quickListeningSocket; FramingStrategy = framingStrategy; MessageChannel = Channel.CreateUnbounded <TRead>(); MessageChannelReader = MessageChannel.Reader; }
public ByteReader( IQuickListeningSocket quickListeningSocket, IFramingStrategy framingStrategy) { QuickListeningSocket = quickListeningSocket; FramingStrategy = framingStrategy; MessageChannel = Channel.CreateUnbounded <byte[]>(); MessageChannelReader = MessageChannel.Reader; }