class Protocol::HTTP2::Priority
def pack
def pack if exclusive stream_dependency = self.stream_dependency | EXCLUSIVE else stream_dependency = self.stream_dependency end return [stream_dependency, self.weight - 1].pack(FORMAT) end
def pack if exclusive stream_dependency = self.stream_dependency | EXCLUSIVE else stream_dependency = self.stream_dependency end return [stream_dependency, self.weight - 1].pack(FORMAT) end