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

Function unpackint

lua/lstrlib.c:1296–1319  ·  view source on GitHub ↗

** Unpack an integer with 'size' bytes and 'islittle' endianness. ** If size is smaller than the size of a Lua integer and integer ** is signed, must do sign extension (propagating the sign to the ** higher bits); if size is larger than the size of a Lua integer, ** it must check the unread bytes to see whether they do not cause an ** overflow. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

str_unpackFunction · 0.85

Calls 1

luaL_errorFunction · 0.85

Tested by

no test coverage detected