* @brief Read data from the input stream * * Read at most `size` bytes from input stream. Read less than `size` bytes if EOS is reached. * If less than `size` bytes are read, bytes outside of [0; returnSize[ are not modified. * It is the equivalent of the `Read` function of `vtkResourceStream`, * but it takes parser context into account. * * @return the number of read bytes
| 245 | * @return the number of read bytes |
| 246 | */ |
| 247 | std::size_t Read(char* output, std::size_t size) { return this->Context.Read(output, size); } |
| 248 | |
| 249 | /** |
| 250 | * @brief Reset parser internal state |