ResourceHandler.FromByteArray Method

ResourceHandlerFromByteArray Method

Version 118.6.80

Creates a IResourceHandler that represents a Byte[], uses CefStreamResourceHandler for reading the data

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 118.6.80.0 (118.6.80.0)

Syntax

public static IResourceHandler FromByteArray(
	byte[] data,
	string mimeType = null,
	string charSet = null
)

Parameters

data
Type: SystemByte
data
mimeType (Optional)
Type: SystemString
mimeType
charSet (Optional)
Type: SystemString
response charset

Return Value

Type: IResourceHandler
IResourceHandler

See Also

Reference