version 1.20, 2004/10/17 20:39:16
|
version 1.21, 2004/12/20 17:14:40
|
|
|
// | // |
// Author: Karl Schopmeyer (k.schopmeyer@opengroup.org) | // Author: Karl Schopmeyer (k.schopmeyer@opengroup.org) |
// | // |
// Modified By: |
// Modified By: David Dillard, VERITAS Software Corp. |
|
// (david.dillard@veritas.com) |
// | // |
//%///////////////////////////////////////////////////////////////////////////// | //%///////////////////////////////////////////////////////////////////////////// |
| |
|
|
/* The decode static method takes a base-64 stream and converts it | /* The decode static method takes a base-64 stream and converts it |
to an array of 8-bit values. | to an array of 8-bit values. |
*/ | */ |
Array<Uint8> Base64::decode(const Array<Sint8> strInput) |
Array<Uint8> Base64::decode(const Array<Sint8>& strInput) |
{ | { |
//Strip any non-base64 characters from the input | //Strip any non-base64 characters from the input |
Array<Sint8> str; | Array<Sint8> str; |