readSRILine

Read a formatted SRI tag line.

bool
readSRILine
(
string line
,
ref const(char)[] type
,
ref const(char)[] hash
)

Parameters

line string

Full RSI formatted tag string

type const(char)[]

Hash type string (e.g., "md5")

hash const(char)[]

Base64 hash string (e.g., "OFPip4okcUW0qhZmdzb23g==")

Meta