MCPcopy Create free account
hub / github.com/MaxBelkov/visualsyslog / GetBit

Function GetBit

sourcecommon/utils.cpp:1245–1248  ·  view source on GitHub ↗

---------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1243}
1244//---------------------------------------------------------------------------
1245bool GetBit(BYTE * data, int bit)
1246{
1247 return data[bit/8] & (BYTE)(1<<(bit%8));
1248}
1249//---------------------------------------------------------------------------
1250BYTE HexVal(char hex)
1251{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected