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

Method get_data

utility/file_access_buffer.cpp:173–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173Vector<uint8_t> FileAccessBuffer::get_data() const {
174 if (real_size != (size_t)data.size()) {
175 return data.slice(0, real_size);
176 }
177 return data;
178}
179
180FileAccessBuffer::FileAccessBuffer(ResizeBehavior p_resize_behavior) :
181 resize_behavior(p_resize_behavior) {}

Callers 15

get_diffMethod · 0.45
wget_syncMethod · 0.45
save_image_as_bmpMethod · 0.45
save_image_as_tgaMethod · 0.45
save_image_as_svgMethod · 0.45
save_hdr_bufferFunction · 0.45
hashMethod · 0.45
get_file_handleMethod · 0.45
try_open_packMethod · 0.45
_loadMethod · 0.45
runMethod · 0.45

Calls 1

sizeMethod · 0.45

Tested by 13

test_exportMethod · 0.36
test_exportMethod · 0.36
generic_testMethod · 0.36
simple_pass_fail_testFunction · 0.36
test_node_pathFunction · 0.36
compare_imagesFunction · 0.36
test_image_variantFunction · 0.36
test_export_sampleFunction · 0.36
test_svg_savingFunction · 0.36