summaryrefslogtreecommitdiff
path: root/libs/ui/FramebufferNativeWindow.cpp
diff options
context:
space:
mode:
author Doug Zongker <dougz@android.com> 2010-02-10 11:02:23 -0800
committer Doug Zongker <dougz@android.com> 2010-02-10 11:10:53 -0800
commitb90d44808a0144d5606abe31ac50440ef09a0c4c (patch)
treed3d6025dc6d0e77f2f59670e3b2c23093be40cef /libs/ui/FramebufferNativeWindow.cpp
parent5b5f8652dac5416461332c1b23dc3d5ba315b074 (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/FramebufferNativeWindow.cpp')
0 files changed, 0 insertions, 0 deletions