BinarySerializationFormatterSerialize Method

Serializes an object into a byte array.

Definition

Namespace: KGySoft.Serialization.Binary
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public byte[] Serialize(
	Object? data
)

Parameters

data  Object
The object to serialize

Return Value

Byte
Serialized raw data of the object

See Also