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