public static PacketField <short> ReadInt16Field(this IncomingPacket packet, string name) { Contract.Requires(packet != null); Contract.Requires(name != null); return(new PacketField <short>(PacketFieldType.Int16, packet.ReadInt16(), name)); }