It is possible that it is repeated any number of times. Binary and decimal are almost the same.
If you have a binary number abcde, it just means that abcde = a*2^4+b*2^3+c*2^2+d*2+e.
So if you want to write 0, to a file, you'll have to write a byte of all 0s, and if you have a long sequence of 0s.
Also for example 10000000(binary) = 128(decimal), and if you want to multiply it by 2 any number of times, you'll have to add so many 0s to the end of the number.
(I've made a little mixture between real numbers, and computer representation of numbers, but I think you can see the general idea).
Edit: As a continuation to the questions in your comments:
Any programming language is able to open files to read in binary format.(Here by binary it's meant as binary versus text)
And you're most likely to find such strings in uncompressed image files, like uncompressed BMP format, output by painter.
Your compression technique is one of the first used to compress images, I think they were named RLE, after the name of the compression, but I really don't remember exactly. (RLE on wikipedia)
If you want to read more about compression, you can look on wikipedia, since it has a lot of information. Specific widely used and not very complex compressions is Huffman coding, and also you can take a look at Lempel Ziv used by zip.