2
0
mirror of https://github.com/esiur/esiur-dotnet.git synced 2025-12-17 01:30:23 +00:00

Huffman base2/3

This commit is contained in:
2023-03-27 15:12:40 +03:00
parent 60738d01b4
commit 9a74a01bdf
8 changed files with 268 additions and 96 deletions

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace Esiur.Analysis.Coding
{
public interface IStreamCodec<T>
{
//public byte[] Encode(byte[] source, uint offset, uint length);
//public byte[] Decode(byte[] source, uint offset, uint length);
public T[] Encode(CodeWord<T>[] source, uint offset, uint length);
public CodeWord<T>[] Decode(T[] source, uint offset, uint length);
}
}