#NEWLINE# def ByteSizePartial( self ) : #NEWLINE# #INDENT# n = 0 #NEWLINE# if self . has_correct_exif_orientation_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthVarInt64 ( self . correct_exif_orientation_ ) ) #NEWLINE# #UNINDENT# if self . has_parse_metadata_ : #NEWLINE# #INDENT# n += 2 #NEWLINE# #UNINDENT# if self . has_transparent_substitution_rgb_ : #NEWLINE# #INDENT# n += ( 1 + self . lengthVarInt64 ( self . transparent_substitution_rgb_ ) ) #NEWLINE# #UNINDENT# return n