forked from randombit/botan
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better abstraction to test view-style FFI APIs
The previous method required the caller to know the expected size of the to-be-viewed byte buffer before calling the FFI function. Now, the wrapper class takes care of the allocation transparently.
- Loading branch information
Showing
1 changed file
with
73 additions
and
49 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters