Merge "rename encodeString to encodeToString"

This commit is contained in:
Doug Zongker
2010-02-05 05:44:17 -08:00
committed by Android (Google) Code Review
2 changed files with 56 additions and 56 deletions

View File

@@ -365,7 +365,7 @@ public class Base64 {
* Passing 0 results in output that adheres to RFC
* 2045.
*/
public static String encodeString(byte[] input, int flags) {
public static String encodeToString(byte[] input, int flags) {
return new String(encode(input, flags));
}
@@ -381,7 +381,7 @@ public class Base64 {
* Passing 0 results in output that adheres to RFC
* 2045.
*/
public static String encodeString(byte[] input, int offset, int len, int flags) {
public static String encodeToString(byte[] input, int offset, int len, int flags) {
return new String(encode(input, offset, len, flags));
}