A fork of https://github.com/crosspoint-reader/crosspoint-reader
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at records-reader 15 lines 472 B view raw
1#include "OpdsStream.h" 2 3OpdsParserStream::OpdsParserStream(OpdsParser& parser) : parser(parser) {} 4 5int OpdsParserStream::available() { return 0; } 6 7int OpdsParserStream::peek() { abort(); } 8 9int OpdsParserStream::read() { abort(); } 10 11size_t OpdsParserStream::write(uint8_t c) { return parser.write(c); } 12 13size_t OpdsParserStream::write(const uint8_t* buffer, size_t size) { return parser.write(buffer, size); } 14 15OpdsParserStream::~OpdsParserStream() { parser.flush(); }