/// <summary> /// Returns 32-bit signed value from varint encoded array of bytes. /// </summary> /// <param name="reader">Varint encoded array of bytes.</param> /// <returns>32-bit signed value</returns> public static int ReadVarInt32(this BinaryReader reader) { return(VarintBitConverter.ReadInt32(reader)); }