Searched refs:extension_type (Results 1 – 1 of 1) sorted by relevance
347 def __init__(self, extension_type, extension_data): argument348 self.extension_type = extension_type352 return (isinstance(self, type(other)) and self.extension_type == other.extension_type and356 return (struct.pack(">H", self.extension_type) + self.extension_data.to_bytes())360 extension_type = struct.unpack(">H", data.read(2))[0]362 return cls(extension_type, extension_data)