ResourceHandlerFromByteArray Method |
Version 67.0.0
Creates a IResourceHandler that represents a Byte[], uses CefStreamResourceHandler for reading the data
Namespace:
CefSharp
Assembly:
CefSharp (in CefSharp.dll) Version: 67.0.0.0 (67.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