def _hexify(data, chunksize=_hex_chunksize):
    'Convert a binary string into its hex encoding, broken up into chunks\n    of I{chunksize} characters separated by a space.\n\n    @param data: the binary string\n    @type data: string\n    @param chunksize: the chunk size.  Default is L{dns.rdata._hex_chunksize}\n    @rtype: string\n    '
    line = binascii.hexlify(data)
    return b' '.join([line[i:(i + chunksize)] for i in range(0, len(line), chunksize)]).decode()
Convert a binary string into its hex encoding, broken up into chunks
of I{chunksize} characters separated by a space.

@param data: the binary string
@type data: string
@param chunksize: the chunk size.  Default is L{dns.rdata._hex_chunksize}
@rtype: string
def _hexify(data, chunksize=_hex_chunksize):
    'Convert a binary string into its hex encoding, broken up into chunks\n    of I{chunksize} characters separated by a space.\n\n    @param data: the binary string\n    @type data: string\n    @param chunksize: the chunk size.  Default is L{dns.rdata._hex_chunksize}\n    @rtype: string\n    '
    line = binascii.hexlify(data)
    return b' '.join([line[i:(i + chunksize)] for i in range(0, len(line), chunksize)]).decode()