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:
18
Esiur.Analysis/Coding/IStreamCodec.cs
Normal file
18
Esiur.Analysis/Coding/IStreamCodec.cs
Normal 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);
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user