You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now we are not allowed anymore to persist things on a disk and we need to manage all of the things in memory. That is not a big issue as our DB file is only around 200kb and it will not grow.
Hi,
we are having some small issues with using the library, maybe it is not directly connected to the library itself but may be an improvement point.
Loading the library expects to receive an ArrayBuffer. However, we are dealing with streams because we are downloading our kbdx file.
Initially, we were doing the following, downloading the file to the disk, then reading it to the buffer. It works well. Following the code used:
Now we are not allowed anymore to persist things on a disk and we need to manage all of the things in memory. That is not a big issue as our DB file is only around 200kb and it will not grow.
We changed the code to the following:
However, this does not work, we do get an exception saying
KdbxError: Error InvalidArg: data
.Do you have any idea why this may not work? Is there an example of how to get a stream into the buffer that will be accepted by kdbxweb?
Would it be possible to have a possibility to load a DB direclty from a stream?
Thank you in advance.
The text was updated successfully, but these errors were encountered: