Export to GitHub

swe-common-data-framework - issue #2

Base64Encoder


Posted on Oct 10, 2008 by Grumpy Hippo

org.vast.sweCommon.Base64Encoder does not output the last four characters of the Base64 encoded string. JUnit test case is attached.

Attachments

Comment #1

Posted on Oct 10, 2008 by Quick Rabbit

Base64Encoder is implemented as a filtered stream. As with any buffered stream, you have to flush it at the end of writing to make sure all bytes are properly writtern to the underlying stream. Have you tried to flush the stream?

Comment #2

Posted on Oct 10, 2008 by Quick Rabbit

Comment deleted

Comment #3

Posted on Oct 22, 2008 by Quick Rabbit

(No comment was entered for this change.)

Status: Invalid

Labels:
Type-Defect Priority-Medium