Esempio n. 1
0
 public ServerCommData(
     IProtocol protocol, 
     ByteArrayReader incomingData = null)
     : base(protocol)
 {
     IncomingData = incomingData;
 }
Esempio n. 2
0
 public ServerCommData(IProtocol protocol, ByteArrayReader incomingData = null)
     : base(protocol)
     => this.IncomingData = incomingData;
Esempio n. 3
0
 /// <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);
 }
Esempio n. 4
0
 /// <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);
 }
Esempio n. 5
0
 public void WriteBytes(ByteArrayReader reader) => this.WriteBytes(((IByteArray)reader).Data);