You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BUT adding offset and NULL checking style is used through out the c++ code.
better is to remove from everywhere. (present in ReadObject, ReadPointer, ReadInt64, ReadUInt64, ReadCString also)
This would require considerable api change
https://github.com/TooTallNate/ref/blob/master/src/binding.cc#L514
if
offset > 0
then checkingptr == NULL
will not match even ifBuffer::Data(buf.As<Object>())
returnNULL
etiher checking is useless or we need to check for NULL before adding offset.
The text was updated successfully, but these errors were encountered: