|
Shaka Packager SDK
|
Public Member Functions | |
| void | PushData (const uint8_t *data, size_t data_size) |
| Pushes data onto the end of the buffer. | |
| bool | Next (std::string *out) |
| void | Flush () |
Definition at line 22 of file text_readers.h.
| shaka::media::LineReader::LineReader | ( | ) |
Definition at line 17 of file text_readers.cc.
| void shaka::media::LineReader::Flush | ( | ) |
Indicates that no more data is coming and that calls to Next should return even possibly-incomplete data.
Definition at line 68 of file text_readers.cc.
| bool shaka::media::LineReader::Next | ( | std::string * | out | ) |
Reads the next line from the buffer.
Definition at line 25 of file text_readers.cc.
| void shaka::media::LineReader::PushData | ( | const uint8_t * | data, |
| size_t | data_size | ||
| ) |
Pushes data onto the end of the buffer.
Definition at line 19 of file text_readers.cc.