Bespoke Open Sound Control Library
ValueToByteArray<(Of <(T>)>) Method (value)
NamespacesBespoke.Common.OscOscPacketValueToByteArray<(Of <(T>)>)(T)
Serialize a value.
Declaration Syntax
C#Visual BasicVisual C++
protected static byte[] ValueToByteArray<T>(
	T value
)
Protected Shared Function ValueToByteArray(Of T) ( _
	value As T _
) As Byte()
protected:
generic<typename T>
static array<unsigned char>^ ValueToByteArray(
	T value
)
Generic Template Parameters
T
The value's data type.
Parameters
value (T)
The value to serialize.
Return Value
The serialized version of the value.

Assembly: Bespoke.Common.Osc (Module: Bespoke.Common.Osc) Version: 4.3.0.0 (4.3.0.0)