Lossy encoders, such as MP3 encoders will generate smaller files than lossless encoders such as FLAC, although with a lossy codec the decoder's output will not be exactly identical to the encoder's input, although with a decent encoder at sufficient bitrate, it will be extremely close.