开发者

When is the LEB128 (u/s) used?

开发者 https://www.devze.com 2023-02-18 06:57 出处:网络
In a dex file, for what purpose is the LEB128 used? This page says it\'s usedIn a .dex file, LEB128 is only ever used to encode 32-bit quantities.

In a dex file, for what purpose is the LEB128 used? This page says it's used

In a .dex file, LEB128 is only ever used to encode 32-bit quantities. Are there any other uses of t开发者_开发技巧he LEB128?


The page you refer to is a mirror of the Dalvik docs. FWIW, I maintain a more up-to-date version here.

The only Android-specific uses of LEB128 that I'm aware of are in .dex files. In .dex files, the format is used all over the place. You should just refer back to the spec to see, as it's very well documented.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号