21#include <vstgui4/vstgui/lib/cstring.h>
27using namespace Steinberg;
28using namespace VSTGUI;
34template<
int size = 128>
42 iStreamer.readString8(str, size);
44 oValue = UTF8String{str};
51 oStreamer.writeString8(iValue,
true);
A parameter backed by a UTF8String.
Definition GUIParamSerializers.h:36
void writeToStream(ParamType const &iValue, std::ostream &oStream) const override
Definition GUIParamSerializers.h:56
tresult writeToStream(const ParamType &iValue, IBStreamer &oStreamer) const override
This method should write iValue to the stream (aka serialization).
Definition GUIParamSerializers.h:49
tresult readFromStream(IBStreamer &iStreamer, ParamType &oValue) const override
This method should read from the stream and populate oValue accordingly (aka deserialization).
Definition GUIParamSerializers.h:39
A vst parameter is represented by a ParamValue type which is a double in the range [0,...
Definition ParamSerializers.h:111
UTF8String ParamType
Definition ParamSerializers.h:113