toBase64

Encodes a ByteArray to a Base64 string (no line wrapping).