VPFileIO MembersVirtual Photonics - VTS Library
Virtual Photonics

The FileIO type exposes the following members.
Methods

  NameDescription
Public methodStatic memberClone T 
Static method to clone an object
Public methodStatic memberCopyStream
Copies one stream to the other
Public methodStatic memberCreateDirectory
Platform-agnostic directory creation (uses isolated storage for Silverlight)
Public methodStatic memberFileDelete
Statis method to delete a file in Silverlight or Desktop
Public methodStatic memberFileExists
Static method to check if a file exists in Silverlight or Desktop
Public methodStatic memberReadArrayFromBinary T (String)
Reads array from a binary file, using the accompanying .xml file to specify dimensions
Public methodStatic memberReadArrayFromBinary T (String,  Int32 )
Reads array from a binary file using explicitly-set dimensions
Public methodStatic memberReadArrayFromBinaryInResources T (String, String)
Reads array from a binary file in resources, using the accompanying .xml file to specify dimensions
Public methodStatic memberReadArrayFromBinaryInResources T (String, String,  Int32 )
Reads array from a binary file in resources using explicitly-set dimensions
Public methodStatic memberReadFromBinary T 
Read from a binary stream
Public methodStatic memberReadFromBinaryCustom T 
Public methodStatic memberReadFromBinaryInResources T 
Read an object of type Time from a binary file in resources
Public methodStatic memberReadFromBinaryInResourcesCustom T 
Public methodStatic memberReadFromBinaryStream T 
Deserializes a stream into an object
Public methodStatic memberReadFromStream T 
Static method to read a specified type from a stream
Public methodStatic memberReadFromXML T 
Reads data of a specified type from an XML file
Public methodStatic memberReadFromXMLInResources T 
Reads data of a specified type from an XML file in resources
Public methodStatic memberReadScalarValueFromBinary T 
Reads a scalar value from a binary file
Public methodStatic memberWriteArrayToBinary T (Array, String)
Writes an array to a binary file, as well as an accompanying .xml file to store array dimensions
Public methodStatic memberWriteArrayToBinary T (Array, String, Boolean)
Writes an array to a binary file and optionally accompanying .xml file (to store array dimensions) if includeMetaData = true
Public methodStatic memberWriteScalarValueToBinary T 
Writes a scalar value to a binary file
Public methodStatic memberWriteTextToStream
Writes the string to a stream
Public methodStatic memberWriteToBinary T 
Write an object of type Time to a binary file
Public methodStatic memberWriteToBinaryCustom T 
Public methodStatic memberWriteToBinaryStream T 
Serializes an object of type Time to the given stream
Public methodStatic memberWriteToStream T 
Static method to write an object to a stream
Public methodStatic memberWriteToTextFile
Writes the string to a text file
Public methodStatic memberWriteToXML T 
Writes data of a specified type to an XML file
Public methodStatic memberZipFiles(IEnumerable String , String, Stream)
Writes one or more files to a compressed zip package
Public methodStatic memberZipFiles(IEnumerable String , String, String)
Writes one or more files to a compressed zip package
Back to Top
See Also