Support that using chunked base64 data as the input.

... input

Test code added in ./test dir..