VPFileIO ReadScalarValueFromBinary T  Method Virtual Photonics - VTS Library
Virtual Photonics
Reads a scalar value from a binary file

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

public static T ReadScalarValueFromBinary<T>(
	string filename,
	Func<BinaryReader, T> readMap
)

Parameters

filename
Type: OnlineSystem String
Name of the binary file
readMap
Type: OnlineSystem Func OnlineBinaryReader, T 
Type Parameters

T
Type of data to be read

Return Value

Type: T
See Also