mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-07-23 14:41:04 -04:00
finished removing latest Qt bits
This commit is contained in:
parent
e75d312724
commit
7dc5c90d63
12 changed files with 125 additions and 139 deletions
|
@ -49,6 +49,7 @@ public:
|
|||
return res;
|
||||
}
|
||||
bool endsWith(const ByteArray& b) const { return size() >= b.size() && !memcmp(&data()[size()-b.size()],b.data(),b.size()); }
|
||||
bool startsWith(const ByteArray& b) const { return b.size() <= size() && !strncmp((char*)b.data(),(char*)data(),std::min(size(),b.size())); }
|
||||
bool startsWith(const char *b) const
|
||||
{
|
||||
for(uint32_t n=0;b[n]!=0;++n)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue