    # File lib/sqlite3/driver/dl/driver.rb, line 77
        def value_text( value, utf16=false )
          method = case utf16
            when nil, false then :sqlite3_value_text
            when :le then :sqlite3_value_text16le
            when :be then :sqlite3_value_text16be
            else :sqlite3_value_text16
          end

          result = API.send( method, value )
          if utf16
            result.free = nil
            size = API.sqlite3_value_bytes( value )
            result = result.to_s( size )
          end

          result
        end