Filesource reads from pipeline

Terry Reyes <[email protected]> Mon, 26 Jun 2023 02:37:04 -0700 (PDT)
Newsgroups gmane.comp.encryption.cryptopp
Message-ID <[email protected]>
 Hey everyone, 
Is there any way to implement like this without the filename?:
echo "hello world"| ./cryptopp > content.txt
The initial way I come up with is:
FileSource(std::cin, true, new FileSink(std::cout));

Thanks
Terry Reyes

-- 
You received this message because you are subscribed to the Google Groups "Crypto++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/cryptopp-users/f3f184d7-0242-4956-adca-a74f00bc66a9n%40googlegroups.com.