MCPcopy Create free account
hub / github.com/Kitware/VTK / get2byteInt

Function get2byteInt

ThirdParty/sqlite/vtksqlite/shell.c:26416–26418  ·  view source on GitHub ↗

** Convert a 2-byte or 4-byte big-endian integer into a native integer */

Source from the content-addressed store, hash-verified

26414** Convert a 2-byte or 4-byte big-endian integer into a native integer
26415*/
26416static unsigned int get2byteInt(unsigned char *a){
26417 return (a[0]<<8) + a[1];
26418}
26419static unsigned int get4byteInt(unsigned char *a){
26420 return (a[0]<<24) + (a[1]<<16) + (a[2]<<8) + a[3];
26421}

Callers 1

shell_dbinfo_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected