parameters: (self, str)
docstring: unpack serialized message in str into this message instance
      :param str: byte array of serialized message, ``str``
docstring_summary: unpack serialized message in str into this message instance
      :param str: byte array of serialized message, ``str``
docstring_tokens: unpack serialized message in str into this message instance : param str : byte array of serialized message str
function: def deserialize(self, str):
      """
      unpack serialized message in str into this message instance
      :param str: byte array of serialized message, ``str``
      """
      try:
        end = 0
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        if python3:
          self.key = str[start:end].decode('utf-8')
        else:
          self.key = str[start:end]
        start = end
        end += 4
        (length,) = _struct_I.unpack(str[start:end])
        start = end
        end += length
        if python3:
          self.value = str[start:end].decode('utf-8')
        else:
          self.value = str[start:end]
        return self
      except struct.error as e:
        raise genpy.DeserializationError(e)
function_tokens: def deserialize ( self , str ) : try : end = 0 start = end end += 4 ( length , ) = _struct_I . unpack ( str [ start : end ] ) start = end end += length if python3 : self . key = str [ start : end ] . decode ( 'utf-8' ) else : self . key = str [ start : end ] start = end end += 4 ( length , ) = _struct_I . unpack ( str [ start : end ] ) start = end end += length if python3 : self . value = str [ start : end ] . decode ( 'utf-8' ) else : self . value = str [ start : end ] return self except struct . error as e : raise genpy . DeserializationError ( e )