Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

System.Memory.dll的扩展。增加一个新的内存池。

License

Notifications You must be signed in to change notification settings

KumoKyaku/Megumin.MemoryExtension

Repository files navigation

Megumin.MemoryExtension

System.Memory.dll扩展。

  • 增加一个BufferPool,支持租用托管和非托管内存。

    • MemoryPool<T> Shared不同,Memory的长度与申请长度相同。
    • 租用获得的内存已经清零。
  • 扩展Span<byte> write/read, 使用小端包装值类型操作。

  • 增加SpanStream。方便与其他库流式API兼容。

About

System.Memory.dll的扩展。增加一个新的内存池。

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages