MCPcopy Create free account
hub / github.com/GDRETools/gdsdecomp / get_buffer

Method get_buffer

utility/file_access_patched_gdre.cpp:179–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179uint64_t FileAccessPatchedGDRE::get_buffer(uint8_t *p_dst, uint64_t p_length) const {
180 if (!_try_apply_patch()) {
181 return 0;
182 }
183
184 return patched_file->get_buffer(p_dst, p_length);
185}
186
187void FileAccessPatchedGDRE::flush() {
188 if (!_try_apply_patch()) {

Callers 1

_apply_patchMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected