MCPcopy Create free account
hub / github.com/apache/tvm-ffi / BytesObjStdImpl

Method BytesObjStdImpl

include/tvm/ffi/string.h:95–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93class BytesObjStdImpl : public Base {
94 public:
95 explicit BytesObjStdImpl(std::string other) : data_{std::move(other)} {
96 this->data = data_.data();
97 this->size = data_.size();
98 }
99
100 private:
101 std::string data_;

Callers

nothing calls this directly

Calls 2

dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected