LZW字典实现C# [英] LZW dictionary implementation C#

查看:93
本文介绍了LZW字典实现C#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好.我想在C#中实现LZW压缩算法,而字典实现存在一些问题.我不知道该如何制作初始字典.

我以为可以将字典实现为哈希表,但是我仍然不知道如何将第一个(初始)值放在其中.

谢谢您的事先帮助.

Hello. I want to make an implementaion of the LZW compression alghorithm in c# and I have some problems with the dictionary implementation. I don`t understand how should I make the initial dictionary.

I thought that I can implement the dictionary as a hash table , but I still don`t know how to put there the fist (initial) values.

Thank you for your help in advance.

推荐答案

查看此实现: http://sharplzw.sourceforge.net/ [^ ]


这篇关于LZW字典实现C#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆