20 #include <vstgui4/vstgui/lib/cstring.h> 29 using namespace Steinberg;
36 template<
int size = 128>
44 iStreamer.readString8(str, size);
46 oValue = UTF8String{str};
53 oStreamer.writeString8(iValue,
true);
A parameter backed by a UTF8String.
Definition: GUIParamSerializers.h:37
tresult readFromStream(IBStreamer &iStreamer, ParamType &oValue) const override
Definition: GUIParamSerializers.h:41
void writeToStream(ParamType const &iValue, std::ostream &oStream) const override
By default, this implementation simply writes the value to the stream IF it is possible (determined a...
Definition: GUIParamSerializers.h:58
tresult writeToStream(const ParamType &iValue, IBStreamer &oStreamer) const override
Definition: GUIParamSerializers.h:51
A vst parameter is represented by a ParamValue type which is a double in the range [0,...
Definition: ParamSerializers.h:105
UTF8String ParamType
Definition: ParamSerializers.h:108