# File lib/sqlite3/driver/dl/driver.rb, line 101 def result_text( func, text, utf16=false ) method = case utf16 when false, nil then :sqlite3_result_text when :le then :sqlite3_result_text16le when :be then :sqlite3_result_text16be else :sqlite3_result_text16 end s = text.to_s API.send( method, func, s, s.length, TRANSIENT ) end