How Does Lossless Work?


Does anyone know of any printed material that describes how ALAC & FLAC operate? These are lossless formats however, they are using compression. Is this format removing something or is it compressing then uncompressing on playback? Looking for hard evidence that these formats are in fact bit-for-bit equals, or not, to master quality AIFF's & WAV's.
3memike
Exact Audio Copy (EAC) has a "Compare WAVs" tool which does a bit-by-bit comparison of 2 WAV files and will show you that WAVs compressed with FLAC, APE or whatever are identical to the original after they've been uncompressed back to a WAV file.
Dave_rosenblum...My computer doesn't do "2" or "3".

2 = 1 0

3 = 1 1

and

4 = 100

5 = 101

etc.
.

I think you have oversimplified it.
I simplified it enough for non-tech people to get the concept. I know how computers work.