Otter SDK Reference
Version:

SerializeToByteArray(object obj) Method

Serializes the specified object and returns it as a byte array.

Syntax

public static byte[] SerializeToByteArray(object obj)

Parameters

obj
Type: object

The object to serialize.

Returns

Byte array containing serialized object data.