You can read a binary file byte by byte using f:read(size)
in which size represent the number of byte but how can I read it bit by bit ? (1/8 of byte or octet if you want)
It's ok for most of the data Int8(1),Uint16(2),Uint32(4),Int*(4) But for BOOL(0.125 ?).
Thanks for your help !
EDIT : My problem is obviously not to read the file bit by bit but to manage to extract all the data, including some boolean value (without creating a "shift" of 1 bit).