verifyWalFrameChecksum()
Verify that a passive WAL frame checksum matches its body.
Import
Section titled “Import”import { verifyWalFrameChecksum } from "@graphrefly/ts/storage";Signature
Section titled “Signature”function verifyWalFrameChecksum(frame: WalFrame<T>): Promise<boolean>Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
frame | WalFrame<T> | Frame to encode or validate. |
Returns
Section titled “Returns”A Promise<boolean> value.
Example
Section titled “Example”import { verifyWalFrameChecksum } from "@graphrefly/ts/storage";Source
Section titled “Source”packages/ts/src/storage/wal.ts