MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / CheckNameLength

Method CheckNameLength

Utils/CompoundFile.cpp:82–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82void StructuredDirectory::CheckNameLength(const std::wstring& name) const {
83 if (name.size() > 31)
84 throw exception("structured directory and file names must be less than 32 characters");
85}
86
87void StructuredFile::Write(const void* buffer, uint32_t count) {
88 auto hr = m_spStream->Write(buffer, count, nullptr);

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected