use raw buffer for frist connect msg then use buffered stream to read more efficient

This commit is contained in:
Eggers Jan
2017-09-13 09:14:08 +02:00
parent 6c7e70f78a
commit c7c1691d75
9 changed files with 35 additions and 20 deletions
@@ -393,6 +393,8 @@ namespace MQTTnet.Core.Tests
public Stream ReceiveStream => _stream;
public Stream RawStream => _stream;
public Stream SendStream => _stream;
public bool IsConnected { get; } = true;