MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / charnext

Method charnext

Libraries/unrar/unicode.cpp:596–602  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

594
595
596char* SupportDBCS::charnext(const char *s)
597{
598 // Zero cannot be the trail byte. So if next byte after the lead byte
599 // is 0, the string is corrupt and we'll better return the pointer to 0,
600 // to break string processing loops.
601 return (char *)(IsLeadByte[(byte)*s] && s[1]!=0 ? s+2:s+1);
602}
603
604
605size_t SupportDBCS::strlend(const char *s)

Callers 1

charnextFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected