[TIMOB-1111] Android: change Utils base64 encode/decode to return TiBlob
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:55:14.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | Release 1.4.0 |
| Components | Android |
| Labels | android, base64, defect |
| Reporter | Jeff Haynie |
| Assignee | Marshall Culpepper |
| Created | 2011-04-15T02:44:20.000+0000 |
| Updated | 2011-04-21T17:18:02.000+0000 |
Description
return blobs instead of string
(from [1d569f43c17aec2f4e1455135a9d486210ff02dc]) [#1169 state:resolved] added SHA1 to Utils for Android [#1168 state:resolved] added SHA1 to Utils for iPhone [#1111 state:resolved] Android Utils base64 should return blob http://github.com/appcelerator/titanium_mobile/commit/1d569f43c17aec2f4e1455135a9d486210ff02dc"> http://github.com/appcelerator/titanium_mobile/commit/1d569f43c17ae...
Base64 Encode should return a string as its task is to return a safe format for sending through networks. Decode should have an option of the format to be returned, Blob or string.