writeBinary(bin: Binary);
The writeBinary method of the File class writes the value of the bin parameter to the file. The writeBinary method automatically opens the file if it is not already open.
This method is valid only for files that are opened with a kind property setting of File.Kind_Binary. An exception is raised if the writeBinary method is attempted on a text file.
The maximum size of data that can be written by the writeBinary method when the value of the FileNode class usePresentationFileSystem property is set to true is 2G bytes. If this limit is exceeded, exception