Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cc: test: in_memory_test: add a test for a variable length key (#128)
This test shows how to use a Key object that stores an arbitrarily sized uint16_t array. The array is first heap-allocated then copied onto the HybridLog once the record has been allocated. The original heap-allocated array can then be safely freed.
- Loading branch information
1 parent
550f0e3
commit 256dfc0
Showing
1 changed file
with
254 additions
and
0 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