#NEWLINE# @ classmethod #NEWLINE# def unpack( cls , data ) : #NEWLINE# #INDENT# labels = [ ] #NEWLINE# while len ( data ) : #NEWLINE# #INDENT# label = unpack ( '!L' , ( '\x00' + data [ : 3 ] ) ) [ 0 ] #NEWLINE# data = data [ 3 : ] #NEWLINE# labels . append ( ( label >> 4 ) ) #NEWLINE# if ( label & 1 ) : #NEWLINE# #INDENT# break #NEWLINE# #UNINDENT# #UNINDENT# return cls ( cls )