Nukepayload2.Buffers

Provides _malloca-like fixed buffers for .NET .


Keywords
stackalloc, buffer
License
Apache-2.0
Install
Install-Package Nukepayload2.Buffers -Version 1.0.0-beta

Documentation

Nukepayload2.Buffers

Provides _malloca-like fixed buffers for .NET .

Want to translate existing C codes into .NET languages easier ? Want to port C# stackalloc codes to VB.NET ? This library may be what you want.

  • Allocate fixed buffer from stack.
  • Compatible with Visual Basic.
  • Remove buffer boundary check if you wish (Not recommended).
  • Safely copy allocated stack buffers to heap, and then copy them back.
  • Allocate stack buffer and use it in separate methods.