◆ CreateFromStream< IStreamableImplmentingClass >() [1/2]

static IStreamableImplmentingClass CreateFromStream< IStreamableImplmentingClass > ( System.IO.BinaryReader  readStream)
static
Template Parameters
IStreamableImplmentingClassType of class that is implementing IStreamable. An instance of it will be created then ReadFromStream will be invoked.
Parameters
readStreamStream to read from. This data will fill the newly created object.
Returns
The newly instantiated, and populated IStreamable object is return
Type Constraints
IStreamableImplmentingClass :IStreamable 
IStreamableImplmentingClass :new()