mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 08:18:15 +03:00
c114d2499b
Summary: This allows us to decode VLQ integers at a given offset, for anything that implements `AsRef<[u8]>`. Instead of having to couple with a `&mut Read` interface. The main benefit is to get rid of `mut`. The old `VLQDecode` interface has to use `&mut Read` since reading has a side effect of changing the internal position counter. Reviewed By: markbt Differential Revision: D7093998 fbshipit-source-id: 20cb14e38c828462c34f32245d0f0f512028b647 |
||
---|---|---|
.. | ||
benches | ||
src | ||
Cargo.toml |