ScriptyBuilder can return raw HTML and also base64 encoded data URI version. ase64 conversion is handled by DynamicBuffer and it's more efficient than typical Base64 libraries.
While and methods support base64 encoding options, method doesn't support as the result is already double URL encoded.