PeekUInt16() public method

Reads a UInt16 without advancing the read pointer
public PeekUInt16 ( ) : UInt16
return System.UInt16
Esempio n. 1
0
 public static NetworkMessageType PeekType(NetIncomingMessage msg)
 {
     return (NetworkMessageType)msg.PeekUInt16();
 }