decode base64

guys could help me with this, I decode base64 and print the result, as I was able to encode but I failed to perform the reverse process.

encode:

ba=CreateObject(“roByteArray”)
ba.FromAsciiString(“example.”)

print ba.ToBase64String()


ba = CreateObject("roByteArray")
ba.FromAsciiString("example.")
str = ba.ToBase64String()
ba.FromBase64String(str)
print ba.ToAsciiString()

-JT

great !!..thanks a lot JT