As already mentioned, it worked fine for Gamecube games.
As for ROM images (not only DS, but GB, GBC, GBA, N64, etc) any empty space at the end unused by the developers is usually filled with the same repeating pattern, usually 00 or FF in hex, which has the same effect once compressed as...