verifyChecksum

Verifies the SHA-256 checksum prepended by withChecksum and returns the data without it.

This detects accidental corruption only; see withChecksum.

Throws

if the data is too short to hold a checksum or the checksum does not match