26 lines
452 B
C#
26 lines
452 B
C#
using StgSharpData;
|
|
|
|
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace StgSharp.Data
|
|
{
|
|
public static class Encode
|
|
{
|
|
|
|
public static void Freeze<T>(
|
|
Dictionary<T,HuffmanKey<T>> indexDict
|
|
)
|
|
where T : struct
|
|
{
|
|
foreach ( var key in indexDict )
|
|
{
|
|
key.Value.Freeze();
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|