diff options
author | vnugent <public@vaughnnugent.com> | 2023-01-14 16:33:01 -0500 |
---|---|---|
committer | vnugent <public@vaughnnugent.com> | 2023-01-14 16:33:01 -0500 |
commit | 4a81716535e13748b63ffa1ee027d093c1adc303 (patch) | |
tree | 5ed1cd3e64f7e049379c78d7f8be81c4fdbc4455 /lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs | |
parent | ca5aba91ebf212d790b98a9364e2d54962b3f7be (diff) |
Utils updates
Diffstat (limited to 'lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs')
-rw-r--r-- | lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs b/lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs index 4120a8b..8a34ec4 100644 --- a/lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs +++ b/lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs @@ -265,7 +265,7 @@ namespace VNLib.Plugins.Extensions.Data.Storage //Convert stream to vnstream VnMemoryStream vms = (VnMemoryStream)data; - using (IMemoryHandle<byte> encBuffer = Memory.SafeAlloc<byte>((int)vms.Length)) + using (IMemoryHandle<byte> encBuffer = MemoryUtil.SafeAlloc<byte>((int)vms.Length)) { //try to compress if(!BrotliEncoder.TryCompress(vms.AsSpan(), encBuffer.Span, out int compressed)) |