def METHOD_NAME(data):
    pos = 0
    while pos < len(data):
        length = data[pos : pos + 5]
        int_length = int(length)
        yield (pos, int_length, data[pos : pos + int_length])
        pos += int_length