Namespace MQTTnet.Formatter
Classes
- MqttBufferWriter
This is a custom implementation of a memory stream which provides only MQTTnet relevant features. The goal is to avoid lots of argument checks like in the original stream. The growth rule is the same as for the original MemoryStream in .net. Also this implementation allows accessing the internal buffer for all platforms and .net framework versions (which is not available at the regular MemoryStream).