Related to https://github.com/flutter-webrtc/flutter-webrtc/issues/908 the current implementation does not handle binary data correctly if it contains zero or "null" bytes as the string class that is used in the interface doesn't care for this type of data and shouldn't care for that.
I replaced the interface with a raw pointer instead of e.g. a std::vector to avoid dll boundary issues.
Related to https://github.com/flutter-webrtc/flutter-webrtc/issues/908 the current implementation does not handle binary data correctly if it contains zero or "null" bytes as the string class that is used in the interface doesn't care for this type of data and shouldn't care for that.
I replaced the interface with a raw pointer instead of e.g. a std::vector to avoid dll boundary issues.