Type: BinaryWriter A System.IO.BinaryWriter object that writes primitive data types to a binary stream.
context
Type: BinarySerializationContext An instance of the BinarySerializationContext class 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.