Click or drag to resize

CompactMeasurementExtensionsDecompressPayload Method

Decompresses CompactMeasurement values from the given source buffer.

Namespace: GSF.TimeSeries.Transport
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.207-beta
Syntax
public static CompactMeasurement[] DecompressPayload(
	this byte[] source,
	SignalIndexCache signalIndexCache,
	int index,
	int dataLength,
	int measurementCount,
	bool includeTime,
	DataPacketFlags flags
)
View Source

Parameters

source  Byte
Buffer with compressed CompactMeasurement payload.
signalIndexCache  SignalIndexCache
Current SignalIndexCache.
index  Int32
Index into buffer where compressed payload begins.
dataLength  Int32
Length of all data within source buffer.
measurementCount  Int32
Number of compressed measurements in the payload.
includeTime  Boolean
Flag that determines if timestamps as included in the payload.
flags  DataPacketFlags
Current DataPacketFlags.

Return Value

CompactMeasurement
Decompressed CompactMeasurement values from the given source buffer.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Byte. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also