コード例 #1
0
 /// <summary>
 /// Returns 16-bit signed value from varint encoded array of bytes.
 /// </summary>
 /// <param name="reader">Varint encoded array of bytes.</param>
 /// <returns>16-bit signed value</returns>
 public static short ReadVarInt16(this BinaryReader reader)
 {
     return(VarintBitConverter.ReadInt16(reader));
 }