MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / read_string

Method read_string

smallthinker/src/llama-io.cpp:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10void llama_io_read_i::read_string(std::string & str) {
11 uint32_t str_size;
12 read_to(&str_size, sizeof(str_size));
13
14 str.assign((const char *) read(str_size), str_size);
15}

Callers 1

state_read_dataMethod · 0.45

Calls 2

readFunction · 0.50
assignMethod · 0.45

Tested by

no test coverage detected