Guest:
Register
|
Login
|
Member List
|
Search
|
Statistics
|
FAQ
Language
----------
Simplifed Chinese
Traditional Chinese
English
CnPack Forum
»
CnVCL 组件包
» DecodeBase64好像有错误
‹‹ Last Thread
|
Next Thread ››
Poll
Trade
Reward
Activity
Printable Version
|
Email to Friend
|
Subscription
|
Favorites
Subject: DecodeBase64好像有错误
eric
新警察
UID 41968
Digest Posts 0
Credits 7
Posts 2
点点分 7
Reading Access 10
Registered 2009-3-10
Status Offline
#1
Post at 2009-8-10 17:38
Profile
|
Blog
|
P.M.
DecodeBase64好像有错误
Decodebase64好像有错误
我用encodebase64对indata编码 再用 base64decode解码为out.data 两个相差一个字节。
Attachment
: [Base64测试]
Base64Test.zip
(2009-8-10 17:38, 47.03 K)
Download count 491
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#2
Post at 2009-8-10 18:21
Profile
|
Blog
|
P.M.
文件内容暂时看不出什么问题。
能否将测试代码贴上来看看?
eric
新警察
UID 41968
Digest Posts 0
Credits 7
Posts 2
点点分 7
Reading Access 10
Registered 2009-3-10
Status Offline
#3
Post at 2009-8-12 16:33
Profile
|
Blog
|
P.M.
用cnbase64对in.data 编码,再解码出来 的文件比in.data差了一个字节,可以参见out.data
Passion
(LiuXiao)
管理员
UID 359
Digest Posts
19
Credits 6838
Posts 3591
点点分 6838
Reading Access 102
Registered 2004-3-28
Status Offline
#4
Post at 2009-8-13 18:19
Profile
|
Blog
|
P.M.
CnBase64的代码中所提供的函数并不直接操作文件,因此文件内容看不出来问题,烦请贴上您调用并且保存文件的具体代码?
Poll
Trade
Reward
Activity
CnPack Forum
CnPack English Forum
> CnWizards IDE Wizards
> CVSTracNT
> Announcements & Others
All times are GMT++8, the time now is 2024-11-23 16:53
Powered by
Discuz!
5.0.0
© 2001-2006
Comsenz Inc.
Processed in 0.008943 second(s), 10 queries , Gzip enabled
TOP
Clear Cookies
-
Contact Us
-
CnPack Website
-
Archiver
-
WAP
Member's CP Home
Edit Profile
Credits Transaction
Public User Groups
Buddy List
Main
Page Views
User Agents
Posts History
Top Forums
Top Threads
Post Ranking
Credit Ranking
Online Time
Team
Moderation Stats