package com.tpt.nano.transform;

import java.util.Arrays;

import junit.framework.TestCase;

public class Base64TransformTest extends TestCase {
	
	public void testBase64() throws Exception {
		byte[] data = "hello world!".getBytes();
		Base64Transform transform = new Base64Transform();
		
		String value = transform.write(data);
		byte[] copy = transform.read(value);
		System.out.println(new String(copy));

		assertTrue(Arrays.equals(data, copy));
	}

}

@@ -462,16 +462,24 @@
 opy));%0D%0A
+%09%09%0D%0A%09%09%0D%0A
 %09%7D%0D%0A%0D%0A%7D%0D

remove eclipse project files