GetShort() public method

Gets the 16 bit integer (short) at the current position, and then advances by two.
public GetShort ( ) : short
return short
 protected override long ReadValue(ByteBuffer sourceBuffer)
 {
     return sourceBuffer.GetShort();
 }
Esempio n. 2
0
 /// <summary>
 /// 
 /// </summary>
 /// <param name="buffer"></param>
 /// <returns></returns>
 protected override long ReadWord(ByteBuffer buffer)
 {
     return (long)buffer.GetShort();
 }