MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / SetData

Method SetData

Sources/Shared/IO/WebRequest.cpp:413–418  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

411 }
412
413 void WebRequestImpl::SetData(StringView text, StringView contentType)
414 {
415 _dataText = text;
416
417 SetData(std::make_unique<MemoryStream>(InPlaceInit, _dataText), contentType);
418 }
419
420 bool WebRequestImpl::SetData(std::unique_ptr<Stream> dataStream, StringView contentType, std::int64_t dataSize)
421 {

Callers 2

Calls 4

DEATH_ASSERTFunction · 0.85
IsValidMethod · 0.45
GetSizeMethod · 0.45
SeekMethod · 0.45

Tested by

no test coverage detected