Decodes a FairPlay DRM license response.
The license response, either a base64 string or ArrayBuffer
A Uint8Array containing the decoded license
const base64String = btoa('test')const result = decodeFairPlayLicense(base64String)deepStrictEqual(new TextDecoder().decode(result), 'test') Copy
const base64String = btoa('test')const result = decodeFairPlayLicense(base64String)deepStrictEqual(new TextDecoder().decode(result), 'test')
Decodes a FairPlay DRM license response.