C# Class Lawo.EmberPlusSharp.S101.DeframingStream

Transparently decodes a single frame.
A call to any of the Read methods of this stream removes data from ReadBuffer object passed to the constructor. The data is then decoded and the decoded form is then returned.
Inheritance: BufferStream
显示文件 Open project: Lawo/ember-plus-sharp Class Usage Examples

Private Methods

Method Description
DeframingStream ( ReadBuffer readBuffer, Action outOfFrameByteReceived ) : System

Initializes a new instance of the DeframingStream class.

ReadAsync ( byte buffer, int offset, int count, CancellationToken cancellationToken ) : Task
ReadByte ( ReadBuffer readBuffer ) : bool