BinarySerializationFormatterDeserializeFromStream(Stream) Method
Deserializes the content of the specified serialization
stream from its current position into an object.
If
SafeMode is enabled in
Options and
stream
contains natively not supported types by name, then you should use the other overloads to specify the expected types.
See the
Remarks section of the
DeserializeFromStreamT(Stream, Type) overload for details.
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public Object? DeserializeFromStream(
Stream stream
)
Public Function DeserializeFromStream (
stream As Stream
) As Object
public:
Object^ DeserializeFromStream(
Stream^ stream
)
member DeserializeFromStream :
stream : Stream -> Object
- stream Stream
- The Stream containing the serialized data. The stream must support reading and will remain open after deserialization.
ObjectThe deserialized data.