SqliteBlobCache.BeforeWriteToDiskFilter(byte[], IScheduler) method¶
Defined in
Type: SqliteBlobCache
Namespace: ReactiveMarbles.CacheDatabase.Sqlite3
Assembly: ReactiveMarbles.CacheDatabase.Sqlite3.dll
Applies to
netstandard2.0
protected virtual IObservable<byte[]> BeforeWriteToDiskFilter(byte[] data, IScheduler scheduler)
Summary: This method is called immediately before writing any data to disk. Override this in encrypting data stores in order to encrypt the data.
Parameters
| Name | Type | Description |
|---|---|---|
data | byte[] | The byte data about to be written to disk. |
scheduler | [IScheduler](# | The scheduler to use if an operation has to be deferred. If the operation can be done immediately, use Observable.Return and ignore this parameter. |
Returns: IObservable