BinarySerializationFormatterDeserializeByReader(BinaryReader) Method
Deserializes the content of a serialization stream wrapped by the specified
reader from its current position into an object.
If
SafeMode is enabled in
Options and the 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
DeserializeByReaderT(BinaryReader, Type) overload for details.
Namespace: KGySoft.Serialization.BinaryAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 8.1.0
public Object? DeserializeByReader(
BinaryReader reader
)
Public Function DeserializeByReader (
reader As BinaryReader
) As Object
public:
Object^ DeserializeByReader(
BinaryReader^ reader
)
member DeserializeByReader :
reader : BinaryReader -> Object
- reader BinaryReader
- The reader that wraps the stream containing the serialized data. The reader will remain open after deserialization.
ObjectThe deserialized data.