示例#1
0
 /// <summary>Reads a zero-compressed encoded integer from a byte array and returns it.
 ///     </summary>
 /// <param name="bytes">byte array with the encoded integer</param>
 /// <param name="start">start index</param>
 /// <exception cref="System.IO.IOException"/>
 /// <returns>deserialized integer</returns>
 public static int ReadVInt(byte[] bytes, int start)
 {
     return(WritableComparator.ReadVInt(bytes, start));
 }