parse
parse(
source,options?):Promise<EnvelopeInfo>
Defined in: packages/filecoin-encryption-envelope/src/range/inspect.ts:135
Inspect an encoded FEE object without a key: scheme, content type, application metadata, and recipients. Unauthenticated – see above.
Reads only as much of source as it takes to find the envelope boundary
(see readEnvelope), never the detached ciphertext. Pass options.signal
to cancel envelope reads (forwarding signal to source.openRange).
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
source |
Uint8Array<ArrayBufferLike> | RandomAccessSource |
options? |
ParseOptions |