Type: BinaryWriter A System.IO.BinaryWriter object that allows writing primitive data types to a binary stream.
context
Type: BinarySerializationContext A BinarySerializationContext object that contains the file format revision number of the schedule being loaded. It also provides methods that facilitate reading and writing various data types from and to the stream.