#NEWLINE# def TryMerge( self , d ) : #NEWLINE# #INDENT# while ( d . avail ( ) > 0 ) : #NEWLINE# #INDENT# tt = d . getVarInt32 ( ) #NEWLINE# if ( tt == 8 ) : #NEWLINE# #INDENT# self . set_width ( d . getVarInt32 ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 16 ) : #NEWLINE# #INDENT# self . set_height ( d . getVarInt32 ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 26 ) : #NEWLINE# #INDENT# length = d . getVarInt32 ( ) #NEWLINE# tmp = ProtocolBuffer . Decoder ( d . buffer ( ) , d . pos ( ) , ( d . pos ( ) + length ) ) #NEWLINE# d . skip ( length ) #NEWLINE# self . mutable_output ( ) . TryMerge ( tmp ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 32 ) : #NEWLINE# #INDENT# self . set_color ( d . getVarInt32 ( ) ) #NEWLINE# continue #NEWLINE# #UNINDENT# if ( tt == 0 ) : #NEWLINE# #INDENT# raise ProtocolBuffer . ProtocolBufferDecodeError #NEWLINE# #UNINDENT# d . skipData ( tt )