Skip to main content
Version: 4.0.1

SecretStoreEntry.prototype.rawBytes

▸ rawBytes(): Uint8Array

Returns the raw byte contents of the SecretStoreEntry instance as a Uint8Array.

Syntax​

rawBytes()

Parameters​

None.

Return value​

A Uint8Array

Exceptions​

The rawBytes() method requires its this value to be a SecretStoreEntry object. If the this value does not inherit from SecretStoreEntry.prototype, a TypeError is thrown.