Skip to content

assertIntegrity

assertIntegrity(value, expected, label?): void

Assert that raw content matches an expected byte length and digest.

string | Uint8Array<ArrayBufferLike>

IntegrityDescriptor

string = "Content"

void