public LooseUnmarshal ( OpenWireFormat wireFormat, Object o, |
||
wireFormat | OpenWireFormat | |
o | Object | |
dataIn | ||
return | void |
public override void LooseUnmarshal(OpenWireFormat wireFormat, Object o, BinaryReader dataIn)
{
base.LooseUnmarshal(wireFormat, o, dataIn);
WireFormatInfo info = (WireFormatInfo)o;
info.BeforeUnmarshall(wireFormat);
info.Magic = ReadBytes(dataIn, 8);
info.Version = dataIn.ReadInt32();
info.MarshalledProperties = ReadBytes(dataIn, dataIn.ReadBoolean());
info.AfterUnmarshall(wireFormat);
}