摘要: function encode($string) { $dict = array_flip(range("\0", "\xFF")); $dict_size = 256; $word = $string[0]; $dict_count = 256; $bits = 8; $bits_max = 256; $return = ""; $rest = 0; $rest_length = 0; for ($i = 1, $j = strlen($string); $i $bits_max) { $bits_... 阅读全文
posted @ 2013-12-07 16:38 FreeSpider 阅读(236) 评论(0) 推荐(0) 编辑