destroy method
void
destroy()
Must call this after no longer use.
Implementation
void destroy() {
if (_ptr != null && _ptr != nullptr) {
malloc.free(_ptr!);
}
_ptr = null;
_length = 0;
}
Must call this after no longer use.
void destroy() {
if (_ptr != null && _ptr != nullptr) {
malloc.free(_ptr!);
}
_ptr = null;
_length = 0;
}