AuroraLib.Core 1.4.2.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AuroraLib.Core --version 1.4.2.1                
NuGet\Install-Package AuroraLib.Core -Version 1.4.2.1                
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="AuroraLib.Core" Version="1.4.2.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add AuroraLib.Core --version 1.4.2.1                
#r "nuget: AuroraLib.Core, 1.4.2.1"                
#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 AuroraLib.Core as a Cake Addin
#addin nuget:?package=AuroraLib.Core&version=1.4.2.1

// Install AuroraLib.Core as a Cake Tool
#tool nuget:?package=AuroraLib.Core&version=1.4.2.1                

AuroraLib.Core

High performance zero allocation structure reader and other tools for big and little-endian.

Nuget Package

Common

Utilities Description
SubStream Provides a view into a portion of an underlying Stream.
MemoryPoolStream like MemoryStream but wrapper around ArrayPool for efficient allocation.
BitReader Offers many methods for reading bit streams.
BitWriter Offers many methods to write a bit stream.
SpanBuffer A buffer that allocated from the ArrayPool.
CircularBuffer A CircularBuffer that allocated from the ArrayPool.
BackwardsMemoryStream Reads and writes from back to front.
ValueStringBuilder A stack-based string-builder.
StreamEx Stream extensions to read and write structures and Arrays.
BitConverterX Extension to the BitConverter such as swap and generic methods.
Values Types Description
Int24 24-bit unsigned integer.
UInt24 24-bit signed integer.
Identifier32 4-byte array, for file signatures similar to dword in c++.
Identifier64 8-byte array, for file signatures.

Benchmarks

ReadStruct | Method | Mean | Error | StdDev | Allocated | |--------------------------- |----------:|----------:|----------:|----------:| | BinaryReader_Read | 55.620 us | 0.2378 us | 0.2225 us | 160 B | | BinaryPrimitives_Read | 17.876 us | 0.2764 us | 0.2586 us | - | | AuroraCore_Read | 33.744 us | 0.4052 us | 0.3790 us | - | | AuroraCore_ReadT | 18.449 us | 0.0933 us | 0.0872 us | - | | AuroraCore_ReadSpanBufferT | 2.138 us | 0.0342 us | 0.0320 us | - |

WriteStream | Method | MB | Mean | Error | StdDev | Gen0 | Gen1 | Gen2 | Allocated | |----------------------- |---- |-------------:|-----------:|-----------:|----------:|----------:|----------:|------------:| | MemoryStream_Write | 1 | 124.16 us | 2.234 us | 1.865 us | 199.4629 | 199.2188 | 199.2188 | 1049128 B | | MemoryPoolStream_Write | 1 | 21.24 us | 0.257 us | 0.240 us | - | - | - | 64 B | | MemoryStream_Write | 10 | 11,166.33 us | 206.271 us | 192.946 us | 1328.1250 | 1328.1250 | 1328.1250 | 32506479 B | | MemoryPoolStream_Write | 10 | 1,586.54 us | 25.563 us | 22.661 us | - | - | - | 66 B | | MemoryStream_Write | 100 | 83,138.23 us | 460.102 us | 384.206 us | 1166.6667 | 1166.6667 | 1166.6667 | 267387709 B | | MemoryPoolStream_Write | 100 | 21,697.72 us | 188.423 us | 157.341 us | - | - | - | 92 B |

Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp3.0 is compatible.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETCoreApp 3.0

    • No dependencies.
  • .NETFramework 4.7.2

  • .NETStandard 2.1

    • No dependencies.
  • net5.0

    • No dependencies.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on AuroraLib.Core:

Package Downloads
AuroraLib.Compression

Supports a wide range of compression algorithms mainly used in video games, like LZSS, LZ10, LZ11, MIO0, YAZ0, YAY0, PRS, LZ0, ZLib and more.

RenderWareNET

Library to work with RenderWare 3 formats

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.4.2.5 78 11/9/2024
1.4.2.4 133 11/8/2024
1.4.2.3 71 11/5/2024
1.4.2.2 255 10/7/2024
1.4.2.1 92 10/6/2024
1.4.1.1 557 6/14/2024
1.3.3 771 12/13/2023