#NEWLINE# def ByteSize( self ) : #NEWLINE# #INDENT# n = 0 #NEWLINE# n += self . lengthVarInt64 ( self . width_ ) #NEWLINE# n += self . lengthVarInt64 ( n . height_ ) #NEWLINE# n += self . lengthString ( self . output_ . ByteSize ( ) ) #NEWLINE# if self . has_color_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthVarInt64 ( self . color_ ) ) #NEWLINE# #UNINDENT# return ( n + 3 )