MCPcopy Create free account
hub / github.com/ejoy/ejoy2d / packint

Function packint

lua/lstrlib.c:1144–1158  ·  view source on GitHub ↗

** Pack integer 'n' with 'size' bytes and 'islittle' endianness. ** The final 'if' handles the case when 'size' is larger than ** the size of a Lua integer, correcting the extra sign-extension ** bytes if necessary (by default they would be zeros). */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

str_packFunction · 0.85

Calls 1

luaL_prepbuffsizeFunction · 0.85

Tested by

no test coverage detected