如何缩短十六进制字符串 [英] How do I short my hex string

查看:184
本文介绍了如何缩短十六进制字符串的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,



我正在开发一个项目,我的任务之一就是对文件内容进行编码。我在互联网上找到了一篇关于编码和解码的有用文章 http://stackoverflow.com/a/1081776/885507 [< a href =http://stackoverflow.com/a/1081776/885507target =_ blanktitle =新窗口>整数序列的最佳压缩算法]。在给定的代码中, ShowRaw 函数打印十六进制字符串。我希望这个十六进制的字符串非常小。



你可以从 http://pastebin.com/h4amRqYk [此处]。



请给我一些想法来完成这项任务。





谢谢

Kapil

解决方案

如果您需要有关Stack Overflow答案的帮助,那么我建议您通过Stack联系答案的作者溢出:我们不习惯纠正他们的错误,如果有的话。



这是一个不同的网站 - 您是否希望AMD提供英特尔产品的技术支持?

Hello,

I'm working on a project and one of my task is to encode the file contents. I found a helpful article on encoding and decoding on internet http://stackoverflow.com/a/1081776/885507[Best Compression algorithm for a sequence of integers]. In given code ShowRaw function prints the hex string. I want this hex sting to a very small string.

You can get the sample hex string from http://pastebin.com/h4amRqYk[here].

Please give me some ideas to do this task.


Thanks
Kapil

解决方案

If you want help on a Stack Overflow answer, then I would suggest that you contact the author of the answer via Stack overflow: we are not in the habit of correcting their mistakes, if any.

This is a different site - would you expect AMD to provide technical support on Intel products?


这篇关于如何缩短十六进制字符串的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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