MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / read

Method read

external/nvImageCodec/src/code_stream.cpp:235–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233 }
234
235 nvimgcodecStatus_t CodeStream::read(size_t* output_size, void* buf, size_t bytes) {
236 try {
237 assert(io_stream_);
238 *output_size = io_stream_->read(buf, bytes);
239 return NVIMGCODEC_STATUS_SUCCESS;
240 } catch (std::exception& e) {
241 return NVIMGCODEC_STATUS_EXECUTION_FAILED;
242 }
243 }
244
245 nvimgcodecStatus_t CodeStream::write(size_t* output_size, void* buf, size_t bytes) {
246 try {

Callers 6

read_staticMethod · 0.45
ReadValueImplFunction · 0.45
ReadValueFunction · 0.45
canParseMethod · 0.45
getImageInfoMethod · 0.45
getImageInfoMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected