ResourceHandlerFromByteArray Method |
Version 63.0.0
Creates a IResourceHandler that represents a Byte[], uses CefStreamResourceHandler for reading the data
Namespace: CefSharpAssembly: CefSharp (in CefSharp.dll) Version: 63.0.0.0 (63.0.0.0)
Syntax public static IResourceHandler FromByteArray(
byte[] data,
string mimeType = null
)
public:
static IResourceHandler^ FromByteArray(
array<unsigned char>^ data,
String^ mimeType = nullptr
)
Parameters
- data
- Type: SystemByte
data - mimeType (Optional)
- Type: SystemString
mimeType
Return Value
Type:
IResourceHandlerIResourceHandler
See Also