MCPcopy Create free account
hub / github.com/audacity/audacity / get2byteInt

Function get2byteInt

lib-src/sqlite/shell.c:15541–15543  ·  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

15539** Convert a 2-byte or 4-byte big-endian integer into a native integer
15540*/
15541static unsigned int get2byteInt(unsigned char *a){
15542 return (a[0]<<8) + a[1];
15543}
15544static unsigned int get4byteInt(unsigned char *a){
15545 return (a[0]<<24) + (a[1]<<16) + (a[2]<<8) + a[3];
15546}

Callers 1

shell_dbinfo_commandFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected