Skip to content

Releases: bathtaters/bitfile

v1.0

Choose a tag to compare

@bathtaters bathtaters released this 16 Aug 19:14
4da7abb

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

Choose a tag to compare

@bathtaters bathtaters released this 12 Aug 03:30

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

Choose a tag to compare

@bathtaters bathtaters released this 02 Aug 05:03

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

Choose a tag to compare

@bathtaters bathtaters released this 01 Aug 03:20

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

Choose a tag to compare

@bathtaters bathtaters released this 27 Jul 05:20
5b416f8

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.