VPFileIO ReadArrayFromBinary T  Method (String,  Int32 )Virtual Photonics - VTS Library
Virtual Photonics
Reads array from a binary file using explicitly-set dimensions

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

public static Array ReadArrayFromBinary<T>(
	string filename,
	params int[] dims
)
where T : struct, new()

Parameters

filename
Type: OnlineSystem String
Name of the file from which to read the array
dims
Type:  OnlineSystem Int32 
Dimensions of the array
Type Parameters

T
Type of the array being read

Return Value

Type: OnlineArray
Array from the file
See Also