MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / read

Method read

samples/zlib/iostream2/zstream.h:87–89  ·  view source on GitHub ↗

Binary read the given number of bytes from the compressed file. */

Source from the content-addressed store, hash-verified

85 /* Binary read the given number of bytes from the compressed file.
86 */
87 int read(void* buf, size_t len) {
88 return ::gzread(m_fp, buf, len);
89 }
90
91 /* Returns the error message for the last error which occurred on the
92 * given compressed file. errnum is set to zlib error number. If an

Callers 15

save_if_modifiedMethod · 0.45
load_about_dataMethod · 0.45
extract_pkginfoMethod · 0.45
get_local_file_contentFunction · 0.45
from_fileMethod · 0.45
load_requirementsFunction · 0.45
fetch_spdx_licensesMethod · 0.45
load_dataFunction · 0.45
__attrs_post_init__Method · 0.45
get_contentMethod · 0.45
parse_apkbuildFunction · 0.45

Calls

no outgoing calls

Tested by 4

__attrs_post_init__Method · 0.36
get_contentMethod · 0.36
load_json_resultFunction · 0.36
file_cmpFunction · 0.36