AuroraLib.Core
1.4.2.4
See the version list below for details.
dotnet add package AuroraLib.Core --version 1.4.2.4
NuGet\Install-Package AuroraLib.Core -Version 1.4.2.4
<PackageReference Include="AuroraLib.Core" Version="1.4.2.4" />
paket add AuroraLib.Core --version 1.4.2.4
#r "nuget: AuroraLib.Core, 1.4.2.4"
// Install AuroraLib.Core as a Cake Addin #addin nuget:?package=AuroraLib.Core&version=1.4.2.4 // Install AuroraLib.Core as a Cake Tool #tool nuget:?package=AuroraLib.Core&version=1.4.2.4
AuroraLib.Core
High performance zero allocation structure reader and other tools for big and little-endian.
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 | 52.570 us | 0.6446 us | 0.6030 us | 160 B | | BinaryPrimitives_Read | 17.222 us | 0.3287 us | 0.3785 us | - | | AuroraCore_Read | 31.588 us | 0.6117 us | 0.7045 us | - | | AuroraCore_ReadT | 16.855 us | 0.0501 us | 0.0391 us | - | | AuroraCore_ReadSpanBufferT | 2.179 us | 0.0426 us | 0.0437 us | - |
WriteStream | Method | MB | Mean | Error | StdDev | Gen0 | Gen1 | Gen2 | Allocated | |----------------------- |---- |-------------:|-------------:|-----------:|----------:|----------:|----------:|------------:| | MemoryStream_Write | 1 | 84.80 us | 1.399 us | 1.308 us | 208.8623 | 208.4961 | 208.4961 | 1048750 B | | MemoryPoolStream_Write | 1 | 21.64 us | 0.421 us | 0.394 us | - | - | - | 64 B | | MemoryStream_Write | 10 | 9,307.01 us | 62.965 us | 55.817 us | 1328.1250 | 1328.1250 | 1328.1250 | 32506476 B | | MemoryPoolStream_Write | 10 | 1,780.05 us | 30.305 us | 41.482 us | - | - | - | 65 B | | MemoryStream_Write | 100 | 69,133.05 us | 1,005.067 us | 940.140 us | 3875.0000 | 3875.0000 | 3875.0000 | 267388464 B | | MemoryPoolStream_Write | 100 | 23,530.49 us | 437.096 us | 429.287 us | - | - | - | - |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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 was computed. 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 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 is compatible. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETFramework 4.7.2
- System.Memory (>= 4.5.5)
-
.NETStandard 2.0
- System.Memory (>= 4.5.5)
-
net6.0
- No dependencies.
-
net8.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.