Advertisement
4_2005-2006 VB function enhancement #154029

Get/Set/Clear Bits from a numeric value

The modual contains 3 functions (full documentation is included in the modual) that let you change bits in a numeric value. This is very usefull as you can store 8 Boolean values in a single byte. It is also usefull for reading headers from Binary files (ie MP3's, MP3 ID3v2 tags). All of the functions are acheived using the AND, OR and XOR operators, also a good example of using these operators.

AI

AI 요약: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

소스 코드
original-source
Upload
원본 댓글 (3)
Wayback Machine에서 복구됨