MCPcopy Create free account
hub / github.com/WebAssembly/wabt / WriteDataAt

Method WriteDataAt

src/stream.cc:38–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38void Stream::WriteDataAt(size_t at,
39 const void* src,
40 size_t size,
41 const char* desc,
42 PrintChars print_chars) {
43 if (Failed(result_)) {
44 return;
45 }
46 if (log_stream_) {
47 log_stream_->WriteMemoryDump(src, size, at, print_chars, nullptr, desc);
48 }
49 result_ = WriteDataImpl(at, src, size);
50}
51
52void Stream::WriteData(const void* src,
53 size_t size,

Callers 3

WriteFixedU32Leb128AtFunction · 0.80
WriteU32Leb128AtFunction · 0.80

Calls 2

FailedFunction · 0.85
WriteMemoryDumpMethod · 0.80

Tested by

no test coverage detected