public ServerCommData( IProtocol protocol, ByteArrayReader incomingData = null) : base(protocol) { IncomingData = incomingData; }
public ServerCommData(IProtocol protocol, ByteArrayReader incomingData = null) : base(protocol) => this.IncomingData = incomingData;
/// <summary> /// Add the content of the given reader to the writer /// </summary> /// <remarks> /// This functionality is not allowed when the writer has been sealed /// </remarks> public void WriteBytes(ByteArrayReader reader) { WriteBytes(((IByteArray)reader).Data); }
public void WriteBytes(ByteArrayReader reader) => this.WriteBytes(((IByteArray)reader).Data);