diff options
| author | 2010-02-10 11:02:23 -0800 | |
|---|---|---|
| committer | 2010-02-10 11:10:53 -0800 | |
| commit | 0ab177114681bc944d7d4a0fcf89ee48df18466c (patch) | |
| tree | 028f7baa6db6f0ca6a63b9226002d9503fde2859 /libs/ui/SharedBufferStack.cpp | |
| parent | 6d65fdbed1df3cf9805c2050dc1c919806046d67 (diff) | |
add Base64OutputStream to android-common
Base64OutputStream is a FilterOutputStream that can encode or decode
base-64 data (with any of the flags supported by the Base64 class --
crlf, padding vs not, line wrapping vs not, etc.)
We change Base64 to have package-private decodeInternal and
encodeInternal methods that save all their state in objects and can be
called multiple times to stream data. The existing functions for
in-memory encoding/decoding call the internal method once; the output
stream calls it multiple times.
Change-Id: Iac661d05329bc2e6b2863088efcedc974415ec44
Diffstat (limited to 'libs/ui/SharedBufferStack.cpp')
0 files changed, 0 insertions, 0 deletions