This class implements section 6.8. Base64 Content-Transfer-Encoding from RFC 2045 Multipurpose Internet Mail Extensions (MIME) Part One: Format of Internet Message Bodies by Freed and Borenstein.
- See also
- RFC 2045
- Author
- Apache Software Foundation
- Since
- 1.0-dev
- Version
- Id
- Base64.java,v 1.20 2004/05/24 00:21:24 ggregory Exp
Notice
The following notice applies to the original API on which this API is based, and to its documentation. The documentation of this API has been revised from the original.
/*
* Copyright (C) 2006 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
|
static boolean | isArrayByteBase64 (byte[] arrayOctect) |
| Tests a given byte array to see if it contains only valid characters within the Base64 alphabet. More...
|
|
static byte[] | encodeBase64 (byte[] binaryData) |
| Encodes binary data using the base64 algorithm but does not chunk the output. More...
|
|
static byte[] | encodeBase64Chunked (byte[] binaryData) |
| Encodes binary data using the base64 algorithm and chunks the encoded output into 76 character blocks. More...
|
|
static byte[] | encodeBase64 (byte[] binaryData, boolean isChunked) |
| Encodes binary data using the base64 algorithm, optionally chunking the output into 76 character blocks. More...
|
|
static byte[] | decodeBase64 (byte[] base64Data) |
| Decodes Base64 data into octects. More...
|
|