System::Text::Json::JsonMemoryMarshal::Write method

JsonMemoryMarshal::Write method

Writes a value of type T to the beginning of the specified byte span.

template<typename T> static void System::Text::Json::JsonMemoryMarshal::Write(const Span<uint8_t> &destination, T &value)
ParameterDescription
TThe type of the value to write.
ParameterTypeDescription
destinationconst Span<uint8_t>&The byte span to write to.
valueT&The value to write.

See Also