diff options
author | Robin Krahl <robin.krahl@ireas.org> | 2019-02-18 21:08:32 +0000 |
---|---|---|
committer | Robin Krahl <robin.krahl@ireas.org> | 2019-02-18 23:27:29 +0100 |
commit | 49703cd770fd0522beae2dc53d1f882c9143c64e (patch) | |
tree | 774dde9adf872447646183d844fedb52194926a8 /LICENSES | |
parent | baa0cd682aa219c4e16c6a7a8c3143931754ee01 (diff) | |
download | ntw-49703cd770fd0522beae2dc53d1f882c9143c64e.tar.gz ntw-49703cd770fd0522beae2dc53d1f882c9143c64e.tar.bz2 |
Refactor Nitrokey::execute_command to write to a buffer
To avoid unnecessary allocations and to simplify the code, this patch
refactors Nitrokey::execute_command to write the data to a slice instead
of returning it as an array.
Diffstat (limited to 'LICENSES')
0 files changed, 0 insertions, 0 deletions