We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b93ffaf commit 9b1ce1cCopy full SHA for 9b1ce1c
modules/serialize/src/deserialize_factory.ts
@@ -78,7 +78,7 @@ export function deserializeFactory<Suite extends AlgorithmSuite> (
78
const type = dataView.getUint8(1)
79
/* Precondition: version and type must be the required values. */
80
needs(version === 1 && type === 128,
81
- version === 65 && type === 89 ? 'Malformed Header: This blob may be base64 encoded.' : 'Malformed Header.' )
+ version === 65 && type === 89 ? 'Malformed Header: This blob may be base64 encoded.' : 'Malformed Header.')
82
83
const suiteId = <AlgorithmSuiteIdentifier>dataView.getUint16(2, false) // big endian
84
/* Precondition: suiteId must match supported algorithm suite */
0 commit comments