MCPcopy Create free account
hub / github.com/BinomialLLC/basis_universal / block_read

Method block_read

encoder/pvpngreader.cpp:573–579  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

571}
572
573int png_decoder::block_read(void* buf, uint32_t len)
574{
575 size_t bytes_read = m_pFile->read(buf, len);
576 if (bytes_read != len)
577 return terminate(PNG_READPASTEOF);
578 return 0;
579}
580
581int64_t png_decoder::block_read_dword()
582{

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected