Click or drag to resize

WriterUpdateCFFEndSample Method

Updates a Combined File Format (.cff) COMTRADE file stream with a final end sample number.

Namespace: GSF.COMTRADE
Assembly: GSF.COMTRADE (in GSF.COMTRADE.dll) Version: 2.4.181-beta
Syntax
public static void UpdateCFFEndSample(
	Stream stream,
	long endSample,
	int rateIndex = 0,
	Encoding encoding = null
)
View Source

Parameters

stream  Stream
Destination stream.
endSample  Int64
End sample value.
rateIndex  Int32  (Optional)
Zero-based rate index to update.
encoding  Encoding  (Optional)
Target encoding; null value will default to UTF-8 (no BOM).
See Also