def _bytes(packet):
    """
    Returns a human-friendly representation of the bytes in a bytestring.

    >>> _bytes('\x12\x34\x56')
    '123456'
    """
    return ''.join('%02x' % ord(c) for c in packet)