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

Method whole_file_as_utf8_string

utility/file_access_buffer.cpp:156–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

154}
155
156String FileAccessBuffer::whole_file_as_utf8_string() const {
157 String s;
158 s.append_utf8((const char *)data.ptr(), real_size);
159 return s;
160}
161
162Error FileAccessBuffer::reserve(int64_t p_length) {
163 if (p_length > data.size()) {

Callers 1

resource_to_stringMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected