def transmit(data, code_info)
   
		pdata = ::FFI::MemoryPointer.new(:uchar, 16)
				
		data_ffi = []
		data.size.times { |i|
			data_ffi[i] = data[i].to_i(16)
		}
		
		data_ffi = ::FFI::MemoryPointer.new(:uchar, 16).write_array_of_uchar(data_ffi)
			
		Klass.Transmit(@handle, data_ffi, code_info)  
		true
   end
def transmit(data, code_info)
   
		pdata = ::FFI::MemoryPointer.new(:uchar, 16)
				
		data_ffi = []
		data.size.times { |i|
			data_ffi[i] = data[i].to_i(16)
		}
		
		data_ffi = ::FFI::MemoryPointer.new(:uchar, 16).write_array_of_uchar(data_ffi)
			
		Klass.Transmit(@handle, data_ffi, code_info)  
		true
   end
Transmits a code
 @param [Array<String>] data data to send
 @param [IR_code_info] code_info code info structure specifying the attributes of the code to send. Anything that is not set is set to default.
 @return [Boolean] returns true if the code was successfully transmitted, or raises an error.