Note

Please see Azure Cognitive Services for Speech documentation for the latest supported speech solutions.

Microsoft Speech Platform

SpEventSerializeSize

SpEventSerializeSize calculates the required size of a buffer to serialize an event. The call must specify which type of serialized event.

Found in: sphelper.h

<pre IsFakePre="true" xmlns="http://www.w3.org/1999/xhtml"> <strong>template &lt;class T&gt; inline ULONG SpEventSerializeSize(</strong> <strong> const <a runat="server" href="jj127868(v=msdn.10).md">SPEVENT</a></strong> *<em>pEvent</em> <strong>);</strong> </pre>

Parameters

Return Values

Size, in bytes, required to serialize the event.