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

Method strlend

Libraries/unrar/unicode.cpp:605–617  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

603
604
605size_t SupportDBCS::strlend(const char *s)
606{
607 size_t Length=0;
608 while (*s!=0)
609 {
610 if (IsLeadByte[(byte)*s])
611 s+=2;
612 else
613 s++;
614 Length++;
615 }
616 return(Length);
617}
618
619
620char* SupportDBCS::strchrd(const char *s, int c)

Callers 1

strlendFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected