DataUrlToB64(Byte, String) Method
Return the Base-64 representation of the specified file content.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static string ToB64(
byte[] data,
string mimeType
)
Public Shared Function ToB64 (
data As Byte(),
mimeType As String
) As String
No code example is currently available or this language may not be supported.
- data Byte
-
Html content.
- mimeType String
-
Mime type of the data, as determined by file extension.
String
Base-64 string value where all external references have been fully
embedded.
For SVG, use attribute syntax xlink:href='{base64}'