mirror of
https://github.com/opencv/opencv.git
synced 2026-07-30 15:53:03 +04:00
Merge branch 4.x
This commit is contained in:
@@ -719,8 +719,14 @@ class CV_EXPORTS_W IStreamReader
|
||||
public:
|
||||
virtual ~IStreamReader();
|
||||
|
||||
/** @brief Read bytes from stream */
|
||||
virtual long long read(char* buffer, long long size) = 0;
|
||||
/** @brief Read bytes from stream
|
||||
*
|
||||
* @param buffer already allocated buffer of at least @p size bytes
|
||||
* @param size maximum number of bytes to read
|
||||
*
|
||||
* @return actual number of read bytes
|
||||
*/
|
||||
CV_WRAP virtual long long read(char* buffer, long long size) = 0;
|
||||
|
||||
/** @brief Sets the stream position
|
||||
*
|
||||
@@ -729,7 +735,7 @@ public:
|
||||
*
|
||||
* @see fseek
|
||||
*/
|
||||
virtual long long seek(long long offset, int origin) = 0;
|
||||
CV_WRAP virtual long long seek(long long offset, int origin) = 0;
|
||||
};
|
||||
|
||||
class IVideoCapture;
|
||||
|
||||
Reference in New Issue
Block a user