NEXCODE.Caffeine.Generators 2.1.2

Prefix Reserved
dotnet add package NEXCODE.Caffeine.Generators --version 2.1.2
                    
NuGet\Install-Package NEXCODE.Caffeine.Generators -Version 2.1.2
                    
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="NEXCODE.Caffeine.Generators" Version="2.1.2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NEXCODE.Caffeine.Generators" Version="2.1.2" />
                    
Directory.Packages.props
<PackageReference Include="NEXCODE.Caffeine.Generators">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add NEXCODE.Caffeine.Generators --version 2.1.2
                    
#r "nuget: NEXCODE.Caffeine.Generators, 2.1.2"
                    
#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.
#:package NEXCODE.Caffeine.Generators@2.1.2
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=NEXCODE.Caffeine.Generators&version=2.1.2
                    
Install as a Cake Addin
#tool nuget:?package=NEXCODE.Caffeine.Generators&version=2.1.2
                    
Install as a Cake Tool

Caffeine.Generators

NuGet Docs License

Roslyn Source Generator -- Compile-time serialization code generation for zero-allocation packet handling.

Installation

dotnet add package Caffeine.Generators

Quick Start

using Caffeine.Generators;

// [Packet] 어트리뷰트로 컴파일 타임 직렬화 코드 자동 생성
[Packet]
public partial class SensorDataPacket
{
    public int DeviceId { get; set; }
    public float Temperature { get; set; }
    public float Humidity { get; set; }
}

// 자동 생성된 ToBytesOptimized() 메서드 사용
var packet = new SensorDataPacket { DeviceId = 1, Temperature = 25.5f };
byte[] bytes = packet.ToBytesOptimized();

Compatibility

  • .NET: netstandard2.0 (모든 .NET 버전 지원)
  • Caffeine.Engine 2.0+

License

Commercial License - NEXCODE (c) 2025-2026

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has 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
2.1.2 25 3/10/2026
2.1.1 27 3/10/2026
2.1.0 38 3/7/2026
2.0.9 37 3/6/2026