vtk.reader.peek: Read bytes from a VTK legacy reader without consuming them.
Description
Read bytes from a VTK legacy reader without consuming them.
Usage
vtk.reader.peek(reader, num_bytes)
Value
raw vector, possibly shorter than num_bytes at the end of the file.
Arguments
- reader
an environment as returned by vtk.reader.new.
- num_bytes
single non-negative integer, the number of bytes to peek at.