can anybody please tell me how to properly convert from void* to void[] as the code below?void[] get_bytes(int n) { return sqlite3_column_blob(stmt, n); }
Something like could works : return *( cast(void[]*) sqlite3_column_blob(stmt, n) ) ;
can anybody please tell me how to properly convert from void* to void[] as the code below?void[] get_bytes(int n) { return sqlite3_column_blob(stmt, n); }
Something like could works : return *( cast(void[]*) sqlite3_column_blob(stmt, n) ) ;