0SuperComicLib.LowLevel
2.2.0
More features are available in the latest version.
Always keep the latest version!
See the version list below for details.
dotnet add package 0SuperComicLib.LowLevel --version 2.2.0
NuGet\Install-Package 0SuperComicLib.LowLevel -Version 2.2.0
<PackageReference Include="0SuperComicLib.LowLevel" Version="2.2.0" />
paket add 0SuperComicLib.LowLevel --version 2.2.0
#r "nuget: 0SuperComicLib.LowLevel, 2.2.0"
// Install 0SuperComicLib.LowLevel as a Cake Addin #addin nuget:?package=0SuperComicLib.LowLevel&version=2.2.0 // Install 0SuperComicLib.LowLevel as a Cake Tool #tool nuget:?package=0SuperComicLib.LowLevel&version=2.2.0
2.2.0 Update
** Add CompareTo_Signed
, MemoryCompareAuto
, ReferenceCompare
method to NativeClass
Summary
Representative things you can do with this library
- Access the object's source memory
- Modify readonly fields
- Get or modify the value of non-public fields
- Get or modify the this pointer value (this is only an example)
- Memory data copy
- Get address of the object (support
pinned
) - Convert class reference pointer value to original type
- Copy memory datas from one object type to another public struct type
(Only if the field layout is the same or the objects are the same size will the copy be successful)
(Type accessible from external library, regardless of which field is non-public)
Performance
0SuperComicLib.LowLevel
is always faster than System.Reflection
when copying the entire object memory.
See here for more details.
Example
Output:
=== SuperComicLib.LowLevel ===
=========== Sample ===========
=== Before ===
m_ILStream : 0F 00 4A 90 01 00 00 2A
m_Length : 8
m_MaxStackSize : 1
=== After ===
m_ILStream : 00
m_Length : 1
m_MaxStackSize : 32
API
Github - 0SuperComicLibs/documents/en-us/0SuperComicLib.LowLevel.md
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
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 | |
---|---|---|---|
7.0.0 | 1,319 | 9/25/2022 | |
6.1.0 | 1,672 | 5/8/2021 | |
6.0.0 | 1,350 | 4/5/2021 | |
5.0.0 | 1,651 | 8/21/2020 | |
4.0.0 | 1,462 | 7/9/2020 | |
3.3.0 | 1,473 | 6/25/2020 | |
3.2.0 | 4,122 | 5/25/2020 | |
3.1.0 | 4,100 | 5/13/2020 | |
3.0.0 | 1,543 | 4/9/2020 | |
2.3.0 | 1,607 | 4/8/2020 | |
2.2.0 | 1,695 | 4/8/2020 | |
2.1.0 | 1,612 | 4/7/2020 | |
2.0.1 | 1,647 | 3/18/2020 | |
2.0.0 | 1,618 | 3/18/2020 | |
1.0.0 | 1,691 | 1/30/2020 |
Add `CompareTo_Signed`, `MemoryCompareAuto`, `ReferenceCompare`