3#include <Foundation/IO/Stream.h>
4#include <Foundation/Strings/HashedString.h>
19 bool IsFileUpToDate(plUInt64 uiExpectedHash, plUInt16 uiVersion)
const {
return (m_uiHash == uiExpectedHash && m_uiVersion == uiVersion); }
43 plUInt64 m_uiHash = 0;
44 plUInt16 m_uiVersion = 0;
This class is optimized to take nearly no memory (sizeof(void*)) and to allow very fast checks whethe...
Definition HashedString.h:25
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
plStringView represent a read-only sub-string of a larger string, as it can store a dedicated string ...
Definition StringView.h:34
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54