aboutsummaryrefslogtreecommitdiff
path: root/lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2023-01-14 16:33:01 -0500
committerLibravatar vnugent <public@vaughnnugent.com>2023-01-14 16:33:01 -0500
commit4a81716535e13748b63ffa1ee027d093c1adc303 (patch)
tree5ed1cd3e64f7e049379c78d7f8be81c4fdbc4455 /lib/VNLib.Plugins.Extensions.Data/src/Storage/LWStorageManager.cs
parentca5aba91ebf212d790b98a9364e2d54962b3f7be (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.cs2
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))