KGy SOFT

BinarySerializationFormatterSerializeToStream Method

KGy SOFT Core Libraries Help
Serializes the given data into a stream.

Namespace:  KGySoft.Serialization.Binary
Assembly:  KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 6.0.0
Syntax

public void SerializeToStream(
	Stream stream,
	Object? data
)

Parameters

stream
Type: System.IOStream
The stream, into which the data is written. The stream must support writing and will remain open after serialization.
data
Type: SystemObject
The data that will be written into the stream.
See Also

Reference