py_zipkin/encoding/_decoders.py
def _convert_trace_id_to_string(self, trace_id, trace_id_high=None):
        """
        Converts the provided traceId hex value with optional high bits
        to a string.

        :param trace_id: the value of the trace ID
        :type trace_id: int
        :param trace_id_high: the high bits of the trace ID
        :type trace_id: int
        :returns: trace_id_high + trace_id as a string
        """
        if trace_id_high is not None:
            result = bytearray(32)
            self._write_hex_long(result, 0, trace_id_high)
            self._write_hex_long(result, 16, trace_id)
            return result.decode("utf8")

        result = bytearray(16)
        self._write_hex_long(result, 0, trace_id)
        return result.decode("utf8")
def _convert_trace_id_to_string(self, trace_id, trace_id_high=None):
        if trace_id_high is not None:
            result = bytearray(32)
            self._write_hex_long(result, 0, trace_id_high)
            self._write_hex_long(result, 16, trace_id)
            return result.decode("utf8")

        result = bytearray(16)
        self._write_hex_long(result, 0, trace_id)
        return result.decode("utf8")
def _convert_trace_id_to_string ( self , trace_id , trace_id_high = None ) : if trace_id_high is not None : result = bytearray ( 32 ) self . _write_hex_long ( result , 0 , trace_id_high ) self . _write_hex_long ( result , 16 , trace_id ) return result . decode ( "utf8" ) result = bytearray ( 16 ) self . _write_hex_long ( result , 0 , trace_id ) return result . decode ( "utf8" )
Converts the provided traceId hex value with optional high bits
        to a string.

        :param trace_id: the value of the trace ID
        :type trace_id: int
        :param trace_id_high: the high bits of the trace ID
        :type trace_id: int
        :returns: trace_id_high + trace_id as a string
Converts the provided traceId hex value with optional high bits to a string .