2
2
mirror of https://github.com/octoleo/restic.git synced 2025-01-22 22:58:26 +00:00
Alexander Neumann d51e9d1b98 Add []byte to repo.LoadAndDecrypt and utils.LoadAll
This commit changes the signatures for repository.LoadAndDecrypt and
utils.LoadAll to allow passing in a []byte as the buffer to use. This
buffer is enlarged as needed, and returned back to the caller for
further use.

In later commits, this allows reducing allocations by reusing a buffer
for multiple calls, e.g. in a worker function.
2019-04-13 13:38:39 +02:00
..
2018-10-05 11:39:02 -07:00
2018-11-25 18:52:32 +01:00
2018-04-01 10:16:31 +02:00
2018-03-03 15:49:44 +01:00
2018-07-12 16:18:19 +03:00
2017-07-23 14:19:13 +02:00
2018-03-03 15:49:44 +01:00
2018-03-03 15:49:44 +01:00
2017-07-23 14:19:13 +02:00
2018-04-01 10:16:31 +02:00
2017-10-02 15:06:39 +02:00
2017-07-23 14:19:13 +02:00
2018-04-01 10:16:31 +02:00
2018-04-01 10:16:31 +02:00