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
template
static constexpr Status WritePayload(EncodingByte /prefix/,
const Type& value,
Writer* writer) {
auto status = Encoding::Write(Length * sizeof(T), writer);
if (!status)
return status;
return writer->Write(value.begin(), value.end());
}
simple_protocol.cpp
// Construct a serializer to output to a std::stringstream.
Serializer<StreamWriter<std::stringstream>> serializer;
// Write a message to the stream using the first overload of WriteMessage.
WriteMessage(&serializer, 1, 2, 3, 4) || Die();
The text was updated successfully, but these errors were encountered:
nop\base\array.h(192,18): error C2665: “nop::StreamWriterstd::stringstream::Write”:
template
static constexpr Status WritePayload(EncodingByte /prefix/,
const Type& value,
Writer* writer) {
auto status = Encoding::Write(Length * sizeof(T), writer);
if (!status)
return status;
}
simple_protocol.cpp
The text was updated successfully, but these errors were encountered: