<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def zipentry_chunk(zipfile, name, size=_BUFFERING):
 """ returns a generator function which when called will emit x-sized chunks of the named entry in the zipfile object """


    def chunks():
        with zipfile.open(name) as fd:
            buf = fd.read(size)
            while buf:
                yield buf
                buf = fd.read(size)
    return chunks