DataUrlTryParse(ReadOnlyMemoryChar, DataUrlInfo) Method

Tries to parse a ReadOnlyMemory<Char> that represents a "data" URL in order to make its content available as DataUrlInfo.

Definition

Namespace: FolkerKinzel.DataUrls
Assembly: FolkerKinzel.DataUrls (in FolkerKinzel.DataUrls.dll) Version: 1.0.0+b1c843815044ca6fd87a144c9ff16386002c6473
C#
public static bool TryParse(
	ReadOnlyMemory<char> value,
	out DataUrlInfo info
)

Parameters

value  ReadOnlyMemoryChar
The ReadOnlyMemory<Char> to parse.
info  DataUrlInfo
If the method returns true, the parameter contains a DataUrlInfo structure that provides the contents of the "data" URL. The parameter is passed uninitialized.

Return Value

Boolean
true if value could be parsed as DataUrlInfo, false otherwise.

See Also