Join GitHub today
Shouldn't it be unsigned ints? #2
youre right, it should be unsigned int. but also little-endian, in which case v,V,Q would be better for platforms like jruby. i think v,V, and the little-endian version of Q (there isn't one in #unpack, duh) would be best. although the specs (rake bacon) run fine with all variants, seems they never trigger above the uint8 case. var_int should get its own tests and the missing encode/write function. thanks for pointing out the endianness.