|
Download Luar/moonloader/lib/doc/modules/http.bit.md from andy-gg/LUAR_RP_PC: direct link, hf CLI and curl.
- Browser
- Download file 511 Bytes
-
https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/doc/modules/http.bit.md
- Command line
-
hf download hf://datasets/andy-gg/LUAR_RP_PC/Luar/moonloader/lib/doc/modules/http.bit.md
-
curl -L -o http.bit.md https://huggingface.co/datasets/andy-gg/LUAR_RP_PC/resolve/main/Luar/moonloader/lib/doc/modules/http.bit.md
511 Bytes
http.bit
An abstraction layer over the various lua bit libraries.
Results are only consistent between underlying implementations when parameters and results are in the range of 0 to 0x7fffffff.
band(a, b) {#http.bit.band}
Bitwise And operation.
bor(a, b) {#http.bit.bor}
Bitwise Or operation.
bxor(a, b) {#http.bit.bxor}
Bitwise XOr operation.
Example {#http.bit-example}
local bit = require "http.bit"
print(bit.band(1, 3)) --> 1