Exemple #1
0
 public Frame(byte type, ushort chanellId, int payloadSize, ReadOnlySequence <byte> payload)
 {
     Header  = new FrameHeader(type, chanellId, payloadSize);
     Payload = payload;
 }
Exemple #2
0
 public Frame(FrameHeader header, ReadOnlySequence <byte> payload)
 {
     Header  = header;
     Payload = payload;
 }