ShopToolsUtilGetDataUri(String, Byte) Method

Return a reference to a Data URI created from the provided binary data loaded in association with a named file.

Definition

Namespace: ShopTools
Assembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
C#
public static string GetDataUri(
	string extension,
	byte[] data
)

Parameters

extension  String
File extension used to establish the MIME type.
data  Byte
Binary data to convert.

Return Value

String
Fully prepared data URI.

See Also