result_text64 method

void result_text64(
  1. PtrContext arg1,
  2. String arg2,
  3. int encoding
)
inherited

Implementation

void result_text64(PtrContext arg1, String arg2, int encoding) {
  if (libVersionNumber < 3008007) {
    throw dbsql.DatabaseException('API sqlite3_result_text64 is not available before 3.8.7');
  }
  final arg2Meta = encoding == _i1.UTF8 ? arg2._metaNativeUtf8() : arg2._metaNativeUtf16();
  final ptrArg2 = arg2Meta.ptr;
  return _h_sqlite3_result_text64!(
      arg1, ptrArg2.cast(), arg2Meta.length, _ptrDestructor, encoding);
}