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 <class T> 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
- pEvent
[in] The event structure to calculate the size of. pEvent must be either SPSERIALIZEDEVENT or SPSERIALIZEDEVENT64.
Return Values
Size, in bytes, required to serialize the event.