MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / finalize

Function finalize

Libraries/Common/IGrowableBufferStringPath.h:37–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 static auto getEncodingFor(const StringPath& sp) noexcept { return sp.getEncoding(); }
36
37 void finalize() noexcept { (void)sp.resize(directAccess.sizeInBytes / sizeof(native_char_t)); }
38};
39} // namespace SC
40

Callers 1

~GrowableBufferFunction · 0.70

Calls 1

resizeMethod · 0.45

Tested by

no test coverage detected