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