diff options
Diffstat (limited to 'core/ustring.h')
-rw-r--r-- | core/ustring.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/ustring.h b/core/ustring.h index 13db00f07f..4831341866 100644 --- a/core/ustring.h +++ b/core/ustring.h @@ -183,7 +183,8 @@ public: uint32_t hash() const; /* hash the string */ uint64_t hash64() const; /* hash the string */ String md5_text() const; - + Vector<uint8_t> md5_buffer() const; + inline bool empty() const { return length() == 0; } // path functions |