mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-20 15:27:32 +09:00
re-introduce old nss im too tired for this
This commit is contained in:
parent
3c46be320d
commit
3a838106b9
2871 changed files with 1374431 additions and 1762417 deletions
|
|
@ -43,11 +43,11 @@ def base128(value):
|
|||
|
||||
# least significant byte has highest bit unset
|
||||
result = [value % 0x80]
|
||||
value = value // 0x80
|
||||
value /= 0x80
|
||||
|
||||
while value != 0:
|
||||
result = [0x80 | (value % 0x80)] + result
|
||||
value = value // 0x80
|
||||
value /= 0x80
|
||||
|
||||
return result
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue