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