Skip to content

add UTC time recording - #81

Merged
Echways merged 1 commit into
mainfrom
ft/wall-clock-anchor
Sep 15, 2026
Merged

Echways merged 1 commit into
mainfrom
ft/wall-clock-anchor

Conversation

@Echways

@Echways Echways commented Sep 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

var legacy = current.ToArray()[..FormatConstants.MinimumHeaderSize];
BitConverter.TryWriteBytes(legacy.AsSpan(12, 4), (uint)FormatConstants.MinimumHeaderSize);

var header = TraceFormatReader.ReadHeader(new MemoryStream(legacy));
var bytes = current.ToArray();
BitConverter.TryWriteBytes(bytes.AsSpan(12, 4), 16u);

Assert.ThrowsExactly<InvalidDataException>(() => TraceFormatReader.ReadHeader(new MemoryStream(bytes)));
@Echways
Echways merged commit b2a7a6f into main Sep 15, 2026
46 checks passed
@Echways
Echways deleted the ft/wall-clock-anchor branch September 15, 2026 12:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants