You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In generated C++ code, the CreateXDirect functions take in a payload of type const std::vector<uint8_t> *payload.
The caller doesn't always have a std::vector at hand, and creating one might not always be possible. In such cases, is there a way to call into a CreateXDirect function or equivalent without allocating?
If not, maybe adding a version of CreateXDirect functions that takes in a std::span or "T* + size" would be a good idea?
Thanks
The text was updated successfully, but these errors were encountered:
In generated C++ code, the
CreateXDirect
functions take in a payload of typeconst std::vector<uint8_t> *payload
.The caller doesn't always have a std::vector at hand, and creating one might not always be possible. In such cases, is there a way to call into a
CreateXDirect
function or equivalent without allocating?If not, maybe adding a version of
CreateXDirect
functions that takes in a std::span or "T* + size" would be a good idea?Thanks
The text was updated successfully, but these errors were encountered: