WriterUpdateCFFEndSample Method
Updates a Combined File Format (.cff) COMTRADE file stream with a final end sample number.
Namespace: Gemstone.COMTRADEAssembly: Gemstone.COMTRADE (in Gemstone.COMTRADE.dll) Version: 1.0.128 -- Release Build+c1068d6f7b1cbea5c860803b7fe23d1a1d3918a0
public static void UpdateCFFEndSample(
Stream stream,
long endSample,
int rateIndex = 0,
Encoding? encoding = null
)
Public Shared Sub UpdateCFFEndSample (
stream As Stream,
endSample As Long,
Optional rateIndex As Integer = 0,
Optional encoding As Encoding = Nothing
)
Gemstone.COMTRADE.Writer.UpdateCFFEndSample = function(stream, endSample, rateIndex, encoding);
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).