Esempio n. 1
0
 public static OfpPacketInReason Parse(this BeBinaryReader br, out OfpPacketInReason b)
 {
     b = (OfpPacketInReason)br.ReadByte();
     return(b);
 }
Esempio n. 2
0
 /// <summary>
 /// OfpPacketInReason as byte
 /// </summary>
 /// <param name="reason"></param>
 public void Write(OfpPacketInReason reason)
 {
     bw.Write((byte)reason);
 }