toip.tools

function · Browser and Node

fromCompact

Rebuilds the exact JSON and checks the SAID. Throws on bad input.

@toip-tools/eventlogView source
TypeScriptImport
import { fromCompact } from "@toip-tools/eventlog";

Declaration

TypeScriptSignature
fromCompact(bytes: Uint8Array): SignedMessage;

Parameters

bytesrequired
Uint8Array<ArrayBufferLike>

Returns