You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// scalar type, following the same structural pattern as <see cref="AbstractPolylineDecoder{TPolyline,TCoordinate}"/>.
20
20
/// </para>
21
21
/// <para>
22
-
/// Because sensor data is one-dimensional (a single temperature per reading), the base class designed
23
-
/// for two-dimensional coordinate pairs is not used. Instead, <see cref="PolylineEncoding"/> static
24
-
/// helpers are called directly to read delta-encoded characters and denormalise the recovered values.
25
-
/// </para>
26
-
/// <para>
27
-
/// Timestamps cannot be recovered from the encoded string.
28
-
/// The decoded <see cref="SensorReading"/> instances will have <see cref="SensorReading.Timestamp"/>
29
-
/// set to <see langword="default"/>.
22
+
/// Each encoded pair consists of a delta-compressed Unix timestamp (seconds since Unix epoch, precision 0)
23
+
/// followed by a delta-compressed temperature value (at <see cref="PolylineEncodingOptions.Precision"/>).
24
+
/// Both are recovered and used to reconstruct the original <see cref="SensorReading"/>.
30
25
/// </para>
31
26
/// </remarks>
27
+
[System.Diagnostics.CodeAnalysis.SuppressMessage("Sonar","S4456:Parameter validation in yielding methods should be wrapped",Justification="Inlined by design to demonstrate a simple iterator without a wrapper method.")]
0 commit comments