 | DataServerClientProtocolGetLogFileContentsHeaderRead Method |
Reads the object from the specified reader.
Namespace: Ookii.Jumbo.DfsAssembly: Ookii.Jumbo.Dfs (in Ookii.Jumbo.Dfs.dll) Version: 0.3.0+dc1307f20e065bb638e0b73a34cd216f57e486f1
Syntaxpublic override void Read(
BinaryReader reader
)
Public Overrides Sub Read (
reader As BinaryReader
)
public:
virtual void Read(
BinaryReader^ reader
) override
abstract Read :
reader : BinaryReader -> unit
override Read :
reader : BinaryReader -> unit
Parameters
- reader BinaryReader
- The BinaryReader to deserialize the object from.
Implements
IWritableRead(BinaryReader)
Remarks
This object instance may have been created using GetUninitializedObject(Type)
so the Read(BinaryReader) method may not make any assumptions about the internal state of the object, and must
ensure the object is in a consistent state afterwards.
When record reuse is enabled, the Read(BinaryReader) method will be called multiple times on
the same instance. The Read(BinaryReader) method must replace the entire internal state
of the object with that of the new record. If any of the object's internal state is stored
in reference types, it's recommended to reuse object instances as much as possible.
See Also