MCPcopy Create free account
hub / github.com/Kitware/VTK / Seek

Method Seek

IO/Core/vtkInputStream.cxx:43–47  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

41
42//------------------------------------------------------------------------------
43int vtkInputStream::Seek(vtkTypeInt64 offset)
44{
45 std::streamoff off = static_cast<std::streamoff>(this->StreamStartPosition + offset);
46 return (this->Stream->seekg(off, std::ios::beg) ? 1 : 0);
47}
48
49//------------------------------------------------------------------------------
50size_t vtkInputStream::Read(void* data, size_t length)

Callers 15

LoadFileMetaDataMethod · 0.45
OpenMethod · 0.45
OpenMethod · 0.45
LoadImageDataMethod · 0.45
LoadStreamBufferMethod · 0.45
RequestDataMethod · 0.45
ReadBinarySTLMethod · 0.45
RequestDataMethod · 0.45
OpenMethod · 0.45
FilesizeMethod · 0.45
HDRReaderUpdateSliceMethod · 0.45

Calls

no outgoing calls

Tested by 4

TestIntParseFunction · 0.36
TestBoolParseFunction · 0.36
TestStringParseFunction · 0.36
TestStreamFunction · 0.36