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
These commits change the calls to certain functions so that they return
the number of bytes consumed by those functions. This value is then
used instead of UTF8SKIP. When everything goes right, the value is the
same as UTF8SIP, but it is better practice to use the function return.
Not only do we avoid having to recalculate it, but the functions have
actually already verified every byte that comprises the code point, so
it is just better practice to use this value, instead of UTF8SKIP, which
looks just at the first byte.
0 commit comments