BinarySerializationFormatterSerializeToStream Method
Serializes the given data into a stream.
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public void SerializeToStream(
Stream stream,
Object? data
)
Public Sub SerializeToStream (
stream As Stream,
data As Object
)
public:
void SerializeToStream(
Stream^ stream,
Object^ data
)
member SerializeToStream :
stream : Stream *
data : Object -> unit
Parameters
- stream Stream
- The stream, into which the data is written. The stream must support writing and will remain open after serialization.
- data Object
- The data that will be written into the stream.