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.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
blob | Buffer |
Returns
Section titled “Returns”| Advert
| null