Пример #1
0
 public void Decode(byte[] data, int offset)
 {
     Length = EndianBitConverter.Big.ToUInt16(data, offset + 16);
     Type   = (BgpMessageType)data[offset + 18];
 }
Пример #2
0
 public void ValidateBgpMsgTypes(BgpMessageType msgType, int i)
 {
     Assert.Equal((int)msgType, i);
 }