D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 3103 - std.base64 should use ubyte[] for binary data
Summary: std.base64 should use ubyte[] for binary data
Status: RESOLVED INVALID
Alias: None
Product: D
Classification: Unclassified
Component: phobos (show other issues)
Version: D1 (retired)
Hardware: All All
: P2 normal
Assignee: No Owner
URL: http://www.digitalmars.com/d/1.0/phob...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-29 08:40 UTC by gareth
Modified: 2012-02-18 03:03 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description gareth 2009-06-29 08:40:34 UTC
std.base64 should use ubyte[] not char[] for binary data - since char[] is for unicode.
Comment 1 Vladimir Panteleev 2012-02-18 03:03:40 UTC
Phobos2's std.base64 was rewritten in 2010 by Masahiro Nakagawa. The new version doesn't have this problem.

Fixing this in Phobos1 would be a breaking change. I think we can close this bug.