May be a stupid question. enc64() returns a null terminated string. But dec64() not doing the same. What is the reason for it?