Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(UMP): Simplify
readVarInt
method
Based on the following from the latest `base.js` from YouTube: ```ts if (a.Kx(b, 1)) { var c = a.getUint8(b); c = c < 128 ? 1 : c < 192 ? 2 : c < 224 ? 3 : c < 240 ? 4 : 5 } else c = 0; ```
- Loading branch information