Exemple #1
0
 public static OfpPort Parse(this BeBinaryReader br, out OfpPort b)
 {
     b = (OfpPort)br.ReadUInt16();
     return(b);
 }
Exemple #2
0
 /// <summary>
 /// OfpPort as ushort
 /// </summary>
 /// <param name="port"></param>
 public void Write(OfpPort port)
 {
     bw.Write((ushort)port);
 }