Download moonloader/lib/websocket/bit.lua from nttl050611/GTASA: direct link, hf CLI and curl.
- Browser
- Download file 217 Bytes
-
https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/websocket/bit.lua
- Command line
-
hf download hf://datasets/nttl050611/GTASA/moonloader/lib/websocket/bit.lua
-
curl -L -o bit.lua https://huggingface.co/datasets/nttl050611/GTASA/resolve/main/moonloader/lib/websocket/bit.lua
217 Bytes
| local has_bit32,bit = pcall(require,'bit32') | |
| if has_bit32 then | |
| -- lua 5.2 / bit32 library | |
| bit.rol = bit.lrotate | |
| bit.ror = bit.rrotate | |
| return bit | |
| else | |
| -- luajit / lua 5.1 + luabitop | |
| return require'bit' | |
| end | |