Beispiel #1
0
 private bool PopUShort(string name)
 {
     try
     {
         ushort u = packet.PopUShort();
         return(Log("ushort {0} = 0x{1:x4}", name, u));
     }
     catch
     {
         return(Error("No ushort available"));
     }
 }