FastQuant.OnProviderConnectedStreamer.Write C# (CSharp) Method

Write() public method

public Write ( BinaryWriter writer, object obj ) : void
writer System.IO.BinaryWriter
obj object
return void
        public override void Write(BinaryWriter writer, object obj)
        {
            var op = (OnProviderConnected)obj;
            writer.Write(op.DateTime.Ticks);
            writer.Write(op.ProviderId);
        }
    }