Publisher review:Bitstrng.C - Print binary formatted strings bitstring(): print bit pattern of bytes formatted to string.byze: value to transform to bitstring.biz: count of bits to be shown (counted from lowest bit, can be any even or odd number).strwid: total width the string shall have. Since between every 4 bits a blank (0x20) is inserted (not added after lowest bit), width of bitformat only is (biz (biz/4-1)). Bits are printed right aligned, positions from highest bit to start of string filled with blanks.
If value of strwid smaller than space needed to print all bits, strwid is ignored (e.g.: bitstr(s,b,16,5) results in 19 chars ''). EXAMPLE:for (j = 1; j
Bitstrng.C is a C/C++ script for Snippets scripts design by Bob Stout.
It runs on following operating system: Windows / Linux / BSD / Solaris.
Operating system:Windows / Linux / BSD / Solaris