MCPcopy Create free account
hub / github.com/BYVoid/OpenCC / MoveRight

Method MoveRight

src/UTF8StringSlice.hpp:134–141  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

132 }
133
134 void MoveRight() {
135 if (utf8Length > 0) {
136 const size_t charLen = UTF8Util::NextCharLength(str);
137 str += charLen;
138 utf8Length--;
139 byteLength -= charLen;
140 }
141 }
142
143 void MoveLeft() {
144 if (utf8Length > 0) {

Callers 2

TEST_FFunction · 0.80
ExtractSuffixesMethod · 0.80

Calls 1

NextCharLengthFunction · 0.85

Tested by 1

TEST_FFunction · 0.64