Index: src/utils/SkBase64.h |
diff --git a/src/utils/SkBase64.h b/src/utils/SkBase64.h |
index 5bf90066327b2c4fdb5ada39c96b6e2ae4de00cd..359da141070d62fee434a60c8679c2cd87025931 100644 |
--- a/src/utils/SkBase64.h |
+++ b/src/utils/SkBase64.h |
@@ -1,4 +1,3 @@ |
- |
/* |
* Copyright 2006 The Android Open Source Project |
* |
@@ -6,7 +5,6 @@ |
* found in the LICENSE file. |
*/ |
- |
#ifndef SkBase64_DEFINED |
#define SkBase64_DEFINED |
@@ -21,8 +19,13 @@ public: |
}; |
SkBase64(); |
+ |
Error decode(const char* src, size_t length); |
+ |
char* getData() { return fData; } |
+ |
+ size_t length() const { return fLength; } |
mtklein
2014/01/30 02:33:02
Let's drop this and remove that assert in the test
tfarina
2014/01/30 02:44:59
Done.
|
+ |
/** |
Base64 encodes src into dst. encode is a pointer to at least 65 chars. |
encode[64] will be used as the pad character. Encodings other than the |
@@ -30,9 +33,6 @@ public: |
*/ |
static size_t Encode(const void* src, size_t length, void* dest, const char* encode = NULL); |
-#ifdef SK_SUPPORT_UNITTEST |
- static void UnitTest(); |
-#endif |
private: |
Error decode(const void* srcPtr, size_t length, bool writeDestination); |