---
hide_title: false
hide_table_of_contents: false
pagination_next: null
pagination_prev: null
---
# SecretStoreEntry.prototype.rawBytes

▸ **rawBytes**(): `Uint8Array`

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

## Syntax

```js
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`](../../../globals/TypeError/TypeError.mdx) is thrown.
