WeRace.Telemetry 0.2.0

dotnet add package WeRace.Telemetry --version 0.2.0                
NuGet\Install-Package WeRace.Telemetry -Version 0.2.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WeRace.Telemetry" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add WeRace.Telemetry --version 0.2.0                
#r "nuget: WeRace.Telemetry, 0.2.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install WeRace.Telemetry as a Cake Addin
#addin nuget:?package=WeRace.Telemetry&version=0.2.0

// Install WeRace.Telemetry as a Cake Tool
#tool nuget:?package=WeRace.Telemetry&version=0.2.0                

WeRace.Telemetry

Core library implementation for reading and writing WeRace Telemetry Format (WRTF) data. This project provides the fundamental components and APIs for handling telemetry data streams.

Core Components

Frame Handling

public readonly record struct Frame<FRAME> where FRAME : struct
{
    public required FrameHeader Header { get; init; }
    public required FRAME Data { get; init; }
}

Session Management

public readonly record struct SessionInfo<SESSION> where SESSION : struct
{
    public required SESSION Data { get; init; }
    public required ulong FrameCount { get; init; }
    public required ulong LastFrameTick { get; init; }
    public required long StartOffset { get; init; }
    public required long DataOffset { get; init; }
}

Key Features

  • Binary telemetry data streaming with high performance
  • Generic type-safe frame handling
  • Session management and information tracking
  • Built-in debugging utilities
  • Memory-efficient struct-based data structures

Usage Example

using WeRace.Telemetry;

// Reading telemetry data
using var reader = new TelemetryReader<TFrame, TSession>(stream);
var sessionInfo = reader.ReadSessionInfo();

foreach (var frame in reader.ReadFrames())
{
    // Process frame.Header.TickCount and frame.Data
}

File Format Magic Numbers

  • File Header: WRTF0001
  • Session Start: WRSE0001
  • Session Footer: WRSF0001

Dependencies

  • .NET 8.0
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.2.0 67 2/14/2025
0.1.6 62 2/13/2025
0.1.5 64 2/13/2025
0.1.4 63 2/12/2025
0.1.3 74 2/7/2025
0.1.2 48 2/7/2025
0.1.1 64 1/27/2025
0.1.0 65 1/27/2025