URIReader support for TS input

This commit is contained in:
Thulinma 2023-04-10 03:46:27 +02:00
parent 1df76eff16
commit f29d48154f
4 changed files with 191 additions and 173 deletions

View file

@ -112,7 +112,8 @@ namespace TS{
class Assembler{
public:
bool assemble(Stream & TSStrm, char * ptr, size_t len, bool parse = false);
bool assemble(Stream & TSStrm, const char * ptr, size_t len, bool parse = false, uint64_t bytePos = 0);
void clear();
private:
Util::ResizeablePointer leftData;
TS::Packet tsBuf;