GenericReader 2.2.4
dotnet add package GenericReader --version 2.2.4
NuGet\Install-Package GenericReader -Version 2.2.4
<PackageReference Include="GenericReader" Version="2.2.4" />
<PackageVersion Include="GenericReader" Version="2.2.4" />
<PackageReference Include="GenericReader" />
paket add GenericReader --version 2.2.4
#r "nuget: GenericReader, 2.2.4"
#addin nuget:?package=GenericReader&version=2.2.4
#tool nuget:?package=GenericReader&version=2.2.4
<div align="center">
🚀 GenericReader
A generic, extensible binary reader for .NET
Effortlessly read from files, streams, buffers, or spans with a single unified API.
</div>
📦 Installation
Install via NuGet:
Install-Package GenericReader
✨ Features
- Read from files, streams, buffers, and spans
- Generic
Read<T>()
API for simplicity and flexibility - Lightweight and easy to integrate
🔧 Example Usage
using GenericReader;
// From file
using var fileReader = new GenericFileReader(@"C:\Test\Example.bin");
var numberFromFile = fileReader.Read<uint>();
// From stream
using var streamReader = new GenericStreamReader(GetStream());
var numberFromStream = streamReader.Read<uint>();
// From byte array
using var bufferReader = new GenericBufferReader(GetBuffer());
var numberFromBuffer = bufferReader.Read<uint>();
// From span
var spanReader = new GenericSpanReader(GetSpan());
var numberFromSpan = spanReader.Read<uint>();
🤝 Contributing
Contributions are welcome and appreciated!
Whether it's fixing a typo, suggesting an improvement, or submitting a pull request — every bit helps.
📄 License
This project is licensed under the MIT License.
<div align="center">
⭐️ Star the repo if you find it useful!
Feel free to open an issue if you have any questions or feedback.
</div>
Product | Versions 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 is compatible. 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 was computed. 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. |
-
net8.0
- No dependencies.
-
net9.0
- No dependencies.
NuGet packages (2)
Showing the top 2 NuGet packages that depend on GenericReader:
Package | Downloads |
---|---|
EpicManifestParser
A .NET parser & downloader for EpicGames manifests |
|
Usmap.NET
A .NET parser for .usmap files |
GitHub repositories
This package is not used by any popular GitHub repositories.