Example #1
0
def read_file(fin):
    while True:
        c = BitIO.getc(fin)
        if c is None: break
        yield c