API Reference > OdDAI Namespace > Classes > Repository Class > Repository Methods > Repository::readStream Method
Repository::readStream Method
Syntax
C++
OdResult readStream(OdStreamBufPtr pStream);
Parameters 
Description 
OdStreamBufPtr pStream 
[in] A smart pointer to the stream buffer object to read data from.  

Returns eOk if the data was successfully read; otherwise, the method returns an appropriate error.

Reads data from a specified stream buffer.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.