new decode(buf) Decodes the given CBOR encoded key into a Key instance. Parameters: Name Type Description buf Buffer Source: key.js, line 32