WriterUpdateCFFEndSample Method

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

Definition

Namespace: Gemstone.COMTRADE
Assembly: Gemstone.COMTRADE (in Gemstone.COMTRADE.dll) Version: 1.0.150 -- Release Build+cf27d9034cc0efcb23d4abf4b149b6ece9a2e1b7
public static void UpdateCFFEndSample(
	Stream stream,
	long endSample,
	int rateIndex = 0,
	Encoding? encoding = null
)

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