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