def _create_payload(payload):
        """Return the string payload filled with zero bytes
           up to the next 512 byte border.
        """
        blocks, remainder = divmod(len(payload), BLOCKSIZE)
        if remainder > 0:
            payload += (BLOCKSIZE - remainder) * NUL
        return payload
Return the string payload filled with zero bytes
           up to the next 512 byte border.
        
product/gradle-plugin/src/main/python/pip/_vendor/distlib/_backport/tarfile.py