Lawo.EmberPlusSharp.S101.MessageEncodingStream.WriteOutOfFrameByteAsync C# (CSharp) Method

WriteOutOfFrameByteAsync() private method

private WriteOutOfFrameByteAsync ( byte value, CancellationToken cancellationToken ) : Task
value byte
cancellationToken System.Threading.CancellationToken
return Task
        internal async Task WriteOutOfFrameByteAsync(byte value, CancellationToken cancellationToken)
        {
            await this.DisposeFramingStream(cancellationToken);
            await this.rawBuffer.ReserveAsync(1, cancellationToken);
            this.rawBuffer[this.rawBuffer.Count++] = value;
            await this.CreateFramingStream(PacketFlags.None, cancellationToken);
        }