mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Fix naming style.
This commit is contained in:
@@ -30,18 +30,19 @@ namespace Aaru.Compression;
|
||||
|
||||
using System.Runtime.InteropServices;
|
||||
|
||||
// ReSharper disable once InconsistentNaming
|
||||
public class LZFSE
|
||||
{
|
||||
/// <summary>Set to <c>true</c> if this algorithm is supported, <c>false</c> otherwise.</summary>
|
||||
public static bool IsSupported => Native.IsSupported;
|
||||
|
||||
[DllImport("libAaru.Compression.Native", SetLastError = true)]
|
||||
static extern nuint AARU_lzfse_decode_buffer(byte[] dst_buffer, nuint dst_size, byte[] src_buffer, nuint src_size,
|
||||
byte[] scratch_buffer);
|
||||
static extern nuint AARU_lzfse_decode_buffer(byte[] dstBuffer, nuint dstSize, byte[] srcBuffer, nuint srcSize,
|
||||
byte[] scratchBuffer);
|
||||
|
||||
[DllImport("libAaru.Compression.Native", SetLastError = true)]
|
||||
static extern nuint AARU_lzfse_encode_buffer(byte[] dst_buffer, nuint dst_size, byte[] src_buffer, nuint src_size,
|
||||
byte[] scratch_buffer);
|
||||
static extern nuint AARU_lzfse_encode_buffer(byte[] dstBuffer, nuint dstSize, byte[] srcBuffer, nuint srcSize,
|
||||
byte[] scratchBuffer);
|
||||
|
||||
/// <summary>Decodes a buffer compressed with LZFSE</summary>
|
||||
/// <param name="source">Encoded buffer</param>
|
||||
|
||||
Reference in New Issue
Block a user