Core Function GetBit
From Sputnik Wiki
(Difference between revisions)
UberFoX (Talk | contribs)
(Created page with "<pre> GetBit( <binary-array>, <index> ) </pre> === Description === Get the bit at a given index. === Parameters === ==== binary-array ==== The binary variable to use. ==== ...")
Newer edit →
(Created page with "<pre> GetBit( <binary-array>, <index> ) </pre> === Description === Get the bit at a given index. === Parameters === ==== binary-array ==== The binary variable to use. ==== ...")
Newer edit →
Revision as of 08:56, 11 August 2014
GetBit( <binary-array>, <index> )
Contents |
Description
Get the bit at a given index.
Parameters
binary-array
The binary variable to use.
index
Index of the bit to get (This is not the index of the bytes).
Return Value
Success: Returns true/false depending on what the bit is set to
Failure: Returns NULL
Remarks
See SetBit( ) for Remarks.
Example
See SetBit( ) for Example.