aboutsummaryrefslogtreecommitdiff
path: root/src/util.rs
diff options
context:
space:
mode:
authorRobin Krahl <robin.krahl@ireas.org>2019-02-18 21:08:32 +0000
committerRobin Krahl <robin.krahl@ireas.org>2019-02-18 23:27:29 +0100
commit49703cd770fd0522beae2dc53d1f882c9143c64e (patch)
tree774dde9adf872447646183d844fedb52194926a8 /src/util.rs
parentbaa0cd682aa219c4e16c6a7a8c3143931754ee01 (diff)
downloadntw-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 'src/util.rs')
0 files changed, 0 insertions, 0 deletions