VPFileIO WriteArrayToBinary T  Method (Array, String, Boolean)Virtual Photonics - VTS Library
Virtual Photonics
Writes an array to a binary file and optionally accompanying .xml file (to store array dimensions) if includeMetaData = true

Namespace: Vts.IO
Assembly: Vts (in Vts.dll) Version: 1.0.12.0 (1.0.12)
Syntax

public static void WriteArrayToBinary<T>(
	Array dataIN,
	string filename,
	bool includeMetaData
)
where T : struct, new()

Parameters

dataIN
Type: OnlineSystem Array
Array to be written
filename
Type: OnlineSystem String
Name of the file where the data is written
includeMetaData
Type: OnlineSystem Boolean
Boolean to determine whether to include meta data, if set to true, an accompanying XML file will be created with the same name
Type Parameters

T
Type of the array to be written
See Also