Skip to content

parseContactBlob

function parseContactBlob(blob):
| Advert
| null;

Defined in: src/protocol/advert.ts:121

Parse an export/import contact blob — a mesh Packet wrapping an advert — returning the advert, or null when it isn’t a well-formed advert packet.

ParameterType
blobBuffer

| Advert | null