Filesource reads from pipeline

15 views
Skip to first unread message

Terry Reyes

unread,
Jun 26, 2023, 5:37:05 AM6/26/23
to Crypto++ Users
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
Reply all
Reply to author
Forward
0 new messages