|
WriterUpdateCFFEndSample Method
|
Updates a Combined File Format (.cff) COMTRADE file stream with a final end sample number.
Namespace: GSF.COMTRADEAssembly: GSF.COMTRADE (in GSF.COMTRADE.dll) Version: 2.4.207-beta
Syntax 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
)
static member UpdateCFFEndSample :
stream : Stream *
endSample : int64 *
?rateIndex : int *
?encoding : Encoding
(* Defaults:
let _rateIndex = defaultArg rateIndex 0
let _encoding = defaultArg encoding null
*)
-> unit
GSF.COMTRADE.Writer.UpdateCFFEndSample = function(stream, endSample, rateIndex, encoding);
View SourceParameters
- 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