MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / read_bytes

Method read_bytes

src/framework/assets/torch_bin.cpp:254–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252 return value;
253 }
254 std::string read_bytes(size_t length) {
255 expect(length);
256 std::string out(reinterpret_cast<const char *>(data_ + cursor_), length);
257 cursor_ += length;
258 return out;
259 }
260 std::string read_line() {
261 std::string out;
262 while (cursor_ < size_ && data_[cursor_] != '\n') {

Callers 1

install_nemo_archiveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected