Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/devilsen/CZXing
/ EndsWith
Function
EndsWith
czxing/src/main/cpp/zxing/src/datamatrix/DMHighLevelEncoder.cpp:853–856 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
851
}
852
853
static bool EndsWith(const std::wstring& s, const std::wstring& ss)
854
{
855
return s.length() > ss.length() && s.compare(s.length() - ss.length(), ss.length(), ss) == 0;
856
}
857
858
ByteArray Encode(const std::wstring& msg)
859
{
Callers
1
Encode
Function · 0.85
Calls
2
length
Method · 0.80
compare
Method · 0.80
Tested by
no test coverage detected