Releases: bathtaters/bitfile
Releases · bathtaters/bitfile
Release list
v1.0
Full release
Contains versions of most functions in stdio.h, along with tests.
Main Updates from v0.5:
- Convert struct property bitfile._msb to bitfile._flags (read/write/msb flag)
- Add _T to end of format string macro names to minimize collisions
- Use errno instead of print to stderror on invalid File Mode
- Fix warning when compiling with -Wall
Dev Updates from v0.5:
- Added File Mode, Error and EOF tests
For simple usage, copy bitfile.c & bitfile.h from the src directory into your project.
v0.5
Main Updates:
- Added fprintbin function in addition to printbin
- Fixed broken swapendian function
- Fixed bug in bftell, bfseek, & bfgetpos that would sometimes add a 1-byte offset
- Fixed bug in bfsetpos that would not update the byte buffer after seeking
- Fixed incorrect value for bpos_t's format string, BPOS_STR
Dev Updates:
- Added (Or split off from Read/Write tests) tests for File Ops, File Position & Utilities
- Added script to cleanup temporary files created by testing
For simple usage, copy bitfile.c & bitfile.h from the src directory into your project.
v0.4
Main Updates:
- Added Error/EOF Functions (clearbferr, bferror, & bfeof).
- Added index and standardized formatting on readme.
Dev Updates:
- Added expectError function to test suite.
For simple usage, copy bitfile.c & bitfile.h from the src directory into your project.
v0.3
Main Updates:
- Added bfreopen, tmpbitfile, bfwrite, bfflush, setbfbuf, bftell, bfrewind, bfgetpos, & bfsetpos functions
- Added bit pos, bit size, & raw byte typedefs.
- Updated bfread & bfseek to mirror new bfwrite & bftell functions.
Dev Updates:
- Added write & seek tests.
For simple usage, copy bitfile.c & bitfile.h from the src directory into your project.
v0.2
Initial release
- Allows opening, closing, seeking and reading files using bits instead of bytes (No write function yet).
For simple usage, copy bitfile.c & bitfile.h from the src directory into your project.