Click or drag to resize

DataFrameParsingState Constructor

Creates a new DataFrameParsingState from specified parameters.

Namespace: GSF.PhasorProtocols
Assembly: GSF.PhasorProtocols (in GSF.PhasorProtocols.dll) Version: 2.4.218-beta
Syntax
public DataFrameParsingState(
	int parsedBinaryLength,
	IConfigurationFrame configurationFrame,
	CreateNewCellFunction<IDataCell> createNewCellFunction,
	bool trustHeaderLength,
	bool validateCheckSum
)
View Source

Parameters

parsedBinaryLength  Int32
Binary length of the IDataFrame being parsed.
configurationFrame  IConfigurationFrame
Reference to the IConfigurationFrame associated with the IDataFrame being parsed.
createNewCellFunction  CreateNewCellFunctionIDataCell
Reference to delegate to create new IDataCell instances.
trustHeaderLength  Boolean
Determines if header lengths should be trusted over parsed byte count.
validateCheckSum  Boolean
Determines if frame's check-sum should be validated.
See Also