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
I would like to use this decode method (listed below), however it ignores the provided buffer. The subsequent call to decodeIr() munges an m_buffer pointing to null memory.
I don't want to have to call the file-based decode method.
It's an operational hassle to have to reference an sbeir file everytime a tool needs it. It would be much simpler if (c++ based) tools could simply reference the sbeir file contents that is embedded in the program. But to do this, one must be able to pass an sbeir bytearray into a decode method that doesn't ignore it.
Would you please provide a way to pass in the buffer and length to the decode method? Perhaps an overloaded version of decode will do.
The SBEIR file must be generated for use by C++ anyway (as opposed to Java, which could get away without using a file and instead use the schema directly), and
That the IrDecoder object is meant to be reused between messages, etc. and should only need to be decoded once
I would like to use this decode method (listed below), however it ignores the provided buffer. The subsequent call to decodeIr() munges an m_buffer pointing to null memory.
I don't want to have to call the file-based decode method.
It's an operational hassle to have to reference an sbeir file everytime a tool needs it. It would be much simpler if (c++ based) tools could simply reference the sbeir file contents that is embedded in the program. But to do this, one must be able to pass an sbeir bytearray into a decode method that doesn't ignore it.
Would you please provide a way to pass in the buffer and length to the decode method? Perhaps an overloaded version of decode will do.
Thank you.
Joe
int decode(char *buffer, std::uint64_t length)
{
m_length = length;
return decodeIr();
}
The text was updated successfully, but these errors were encountered: