#NEWLINE# def write_map_begin( self , ktype , vtype , size ) : #NEWLINE# #INDENT# if ( size == 0 ) : #NEWLINE# #INDENT# self . write_byte ( 0 ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _write_size ( size ) #NEWLINE# self . write_ubyte ( ( ( CTYPES [ ktype ] << 4 ) | CTYPES [ vtype ] ) )