Bitfile 0.8

Operating systemsOS : Windows / Linux / Mac OS / BSD / Solaris
Program licensingScript Licensing : GPL - GNU General Public License
CreatedCreated : May 18, 2010
Size downloadDownloads : 3
Program licensing
Thank you for voting...

The ANSI C version uses file I/O functions and every ...

The ANSI C version uses file I/O functions and every Bitfile by Michael Dipperstein is referenced by a structure which includes a FILE pointer.
The arraystream library uses a similar structure, replacing the FILE pointer with a pointer to an array of unsigned characters and an array index. Arraystream operations are analogous to bitfile 0.8 operations in almost all respects and will not be discussed further.
The C++ version of the Bitfile [bitfile0.8.exe] library makes use of (but does not inherit from) the ifstream and ofstream classes. Every bit file object contains an ifstream pointer and ofstream pointer.
The Python version implements a class containing a Python file object. The class is intended to be easy to follow and expand upon, though it may be used without an understanding of its implementation.
In addition to a reference to a native file, each library includes an 8-bit buffer, and count responsible for tracking the number of bits in the 8-bit buffer. The C and C++ versions of the Bitfile - 0MB library use an unsinged char for the 8-bit buffer.
Most important functions of Bitfile 0.8:
Reading Bits:
• Read a byte from the underlying file and store it in the 8-bit buffer.
• Set the count of bits in the buffer to 8.
• Report the least significant bit (lsb) in the buffer as the bit read.
• Shift the buffer right by one bit.
• Decrement the count of bits in the buffer.
• To read an additional bit, repeat the process from Step 3. Once all bits are read from the 8-bit buffer (the count equals 0) the process starts over from Step 1.
Writing Bits:
• Left shift the 8-bit buffer by one bit.
• Set the least significant bit (lsb) of the 8-bit buffer to the value of the bit being written.
• Increment the count of bits in the 8-bit buffer.
• Repeat the process from Step 1 for each additional bit. Once 8 bits have been written to the 8-bit buffer, the buffer is written to the underlying file and the bit count is set to 0.

Bitfile 0.8 scripting tags: file, file manipulation, bitfile, library, bits, buffer, count, wrapper. What is new in Bitfile 0.8 software script? - Unable to find Bitfile 0.8 news. What is improvements are expecting? Newly-made Bitfile 0.9 will be downloaded from here. You may download directly. Please write the reviews of the Bitfile. License limitations are unspecified.