Created
July 1, 2022 02:10
-
-
Save rgs1/18f5d2df81408d8090209154ae806c60 to your computer and use it in GitHub Desktop.
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
Buffer::OwnedImpl buffer; | |
auto result = bio_io_handle(b)->read(buffer, outl); | |
/* TODO: avoid copying */ | |
buffer.copyOut(0, buffer.length(), out); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment