class Protocol::HTTP2::Priority

def self.unpack(data)

def self.unpack(data)
	stream_dependency, weight = data.unpack(FORMAT)
	
	# Weight:  An unsigned 8-bit integer representing a priority weight for the stream (see Section 5.3).  Add one to the value to obtain a weight between 1 and 256.  This field is only present if the PRIORITY flag is set.
	return self.new(stream_dependency & EXCLUSIVE != 0, stream_dependency & ~EXCLUSIVE, weight + 1)
end