API Reference > Classes > PRC Entities Input/output Operations for Entities > OdPrcUncompressedFiler Class > OdPrcUncompressedFiler Methods > OdPrcUncompressedFiler::seek Method
OdPrcUncompressedFiler::seek Method
Syntax
C++
virtual OdUInt64 seek(OdInt64 offset, OdDb::FilerSeekType seekType);
Parameters 
Description 
OdInt64 offset 
[in] A number of bytes.  
OdDb::FilerSeekType seekType 
[in] A seek type. 

Moves the current position of the file pointer for the filer to the specified location. 

 

seekType must be one of the following:

Value 
Value 
Description 
OdDb::kSeekFromStart 
SEEK_SET 
Start of file 
OdDb::kSeekFromCurrent 
SEEK_CUR 
Current position of file pointer. 
OdDb::kSeekFromEnd 
SEEK_END 
End of file 
Copyright (c) 2002-2020. Open Design Alliance. All rights reserved.