NETool 4.3.2

dotnet add package NETool --version 4.3.2
                    
NuGet\Install-Package NETool -Version 4.3.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="NETool" Version="4.3.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="NETool" Version="4.3.2" />
                    
Directory.Packages.props
<PackageReference Include="NETool" />
                    
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 NETool --version 4.3.2
                    
#r "nuget: NETool, 4.3.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 NETool@4.3.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=NETool&version=4.3.2
                    
Install as a Cake Addin
#tool nuget:?package=NETool&version=4.3.2
                    
Install as a Cake Tool

SunnyUI.Net

NETool

介绍

NETool 通用工具类库 (无依赖,支持 AOT)

软件架构

.NETFramework 4.7.2, .NET8, .NET10

安装教程

Nuget 安装最新版本。

Install-Package NETool
更新日志

🔰➕✏️❌📒⚡🌏🎁🔔🎉💻⏰🔍🔒✉️📑📇📚🔖♥️🏠🌈🔁⛔❎⭕✅☑️🔵⚪🔴⚫

  • X.X.X 🌏 持续更新中......
  • 4.0.3 ✏️ 重构 增加代码注入源生成器,增加泛型支持
  • 4.0.3 ✏️ 重构 解码器,返回结果由 byte[] 改为 ReadOnlyMemory<byte>
  • 4.0.0 ✏️ 重构 IO 读写类,底层修改为 MemoryPool
  • 3.8.0 ✏️ 重构 合并 .NET472,重构源生成器代码
  • 3.6.1 ➕ 增加 7z 压缩算法支持
  • 3.3.0 🔰 支持 .NET10.0 正式版
  • 3.2.6 ✏️ 重构 修正 IO 读写 byte[] 时先验长度问题,改为调用者负责
  • 3.2.3 ➕ 增加 MacAddress、UdpHeader 结构
  • 3.1.4 ✏️ 重构 .Net Framework 4.7.2 源生成器
  • 3.0.9 ➕ 增加 .Net Framework 4.7.2 支持,NETool.FX 类库
  • 3.0.0 ➕ 增加 单元测试用例
  • 2.9.8 ➕ 增加 InlineArray 结构源生成器
  • 2.9.7 ✏️ 重构 FrameDecoder 解码器增加异步支持
  • 2.9.2 ✏️ 重构 Ini 文件读写类,增加注释支持
  • 2.8.0 ➕ 增加 CommandLine 命令行管理类源生成器
  • 2.7.9 ➕ 增加 TempFile,SandBox 用来创建临时文件和沙盒目录,程序退出时自动删除
  • 2.7.1 ✏️ 重构 XmlFile 读写类,增加源代码生成 XmlConfig 类
  • 2.6.5 ✏️ 重构 IO 写入类,将值 value 与偏置 offset 在参数中位置互换,增加 offset 默认值 0
  • 2.5.9 ➕ 增加 CircularBuffer 环形缓冲区
  • 2.5.5 ➕ 增加 类 Mapper 的源生成器
  • 2.5.0 ➕ 增加 类序列化为 Ini 文件格式的源生成器
  • 2.4.0 ✏️ 重构 ByteArray, ByteWriter, ByteReader 读写 string, byte[] 的代码,支持 null 值
  • 2.3.8 ✏️ 重构 IniFile 读写类,增加源代码生成 IniConfig 类
  • 2.3.5 ✏️ 重构 类序列化源生成器,增加数据压缩和加密参数
  • 2.2.8 ❌ 删除 所有不支持 AOT 的代码
  • 2.2.2 ➕ 增加 类序列化为二进制的源生成器
  • 2.2.0 ✏️ 重构 数组扩展读写方法,重构 IO 读写类
  • 2.1.8 ✏️ 重构 数组扩展方法,重构 ByteArray 类
  • 2.1.7 ➕ 增加 一个内联数组的示例 Temp16Ex
  • 2.1.3 ➕ 增加 枚举类的描述信息源生成器
  • 2.1.0 ➕ 增加 IpV4Port 结构
  • 2.0.8 ✏️ 重构 增加和修改部分 DateTime 类型为 DateTimeOffset 类型
  • 2.0.4 ✏️ 重构 加解密算法
  • 2.0.2 ➕ 增加 Tar.gz 压缩类
  • 2.0.1 ✏️ 重构 IO 读写,类型名称与基础定义类型一致
  • 1.9.8 ➕ 增加 加解密算法以及异步调用扩展
  • 1.9.7 ➕ 增加 VectorEx 向量计算扩展类
  • 1.9.2 ✏️ 重构 Temp16 等结构,使用 Fill 填充字符串,ToString 转换为字符串
  • 1.9.2 ➕ 增加 SocketFile 文件传输增加 Zip 压缩文件,可包含文件夹
  • 1.9.0 ✏️ 重构 FileEx, SystemEx (部分移动至 AppEx, OS)等工具类
  • 1.8.0 ➕ 增加 UdpFileServer, UdpFileSender UDP 协议文件传输服务器和发送器类
  • 1.6.5 ➕ 增加支持 .Net10
  • 1.6.1 ➕ 增加 HotCache 热缓存类
  • 1.5.7 ➕ 增加 FrameDecoder 流式数据解码器类
  • 1.5.5 ✏️ 重构 EndianType 字节序类型定义
  • 1.5.3 ✏️ 重构 ZipType 压缩及加密算法类型定义
  • 1.4.9 ➕ 增加 TaskCacheWorker 工具类
  • 1.4.2 ➕ 增加 TaskWorker 工具类
  • 1.4.1 ➕ 增加 LogSender 日志发送器类
  • 1.3.8 ✏️ 重构 ByteArray
  • 1.3.0 ➕ 增加 UDP 通讯工具类
  • 1.2.5 ➕ 增加 SystemTime 结构体
  • 1.2.3 ➕ 增加 NumericalParser 工具类
  • 1.2.2 ➕ 增加 MaskEx 工具类
  • 1.2.0 ➕ 增加 HttpEx 工具类
  • 1.1.3 ➕ 增加 Temp16, Temp32, Temp64, Temp128, Temp256 结构体
  • 1.1.1 ➕ 增加 GuidV7 结构体
  • 1.1.0 ➕ 增加 LngLat 表示经纬度坐标的结构体
  • 1.0.9 ➕ 增加 PCap 文件读取工具类
  • 1.0.8 🔰 更新 Struct 读写工具类,标记 LayoutKind.Sequential 的可用 ToStructNoAot,ToByteArrayNoAot 解析
  • 1.0.5 ➕ 增加一些 ref struct 工具类,增加生成 API 文档
  • 1.0.4 ➕ 增加 压缩帧文件读写工具类
  • 1.0.3 ➕ 增加 文件压缩解压工具类
  • 1.0.2 ➕ 增加 压缩解压工具类
  • 1.0.1 🔰 编译 AOT 需要 .Net9
  • 1.0.0 🔰 更新 Struct 读写工具类,必须标记 LayoutKind.Explicit
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.  net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7.2

  • net10.0

    • No dependencies.
  • net8.0

    • No dependencies.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on NETool:

Package Downloads
NETool.Pack

NETool.Pack 是 NETool 的二进制序列化器。

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
4.3.2 33 2/12/2026
4.3.1 45 2/11/2026
4.3.0 51 2/11/2026
4.2.2 90 2/10/2026
4.2.1 127 2/9/2026
4.2.0 117 2/9/2026
4.1.9 106 2/6/2026
4.1.8 115 2/6/2026
4.1.7 113 2/6/2026
4.1.6 114 2/4/2026
4.1.5 111 2/3/2026
4.1.4 112 2/3/2026
4.1.3 130 2/2/2026
4.1.2 131 2/2/2026
4.0.7 131 2/2/2026
4.0.6 101 2/1/2026
4.0.5 101 2/1/2026
4.0.4 104 2/1/2026
4.0.3 126 1/30/2026
4.0.2 131 1/30/2026
Loading failed