MCPcopy Create free account
hub / github.com/craftzdog/react-native-quick-base64 / DecodedBuffer

Method DecodedBuffer

cpp/QuickBase64Impl.cpp:17–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15class DecodedBuffer final : public jsi::MutableBuffer {
16public:
17 explicit DecodedBuffer(std::string&& s) noexcept : data_(std::move(s)) {}
18 size_t size() const override { return data_.size(); }
19 uint8_t* data() override {
20 return reinterpret_cast<uint8_t*>(data_.data());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected