PDF SDK Documentation

Comprehensive Guide for Developers: Features, Integration, and API Reference

Loading...
Searching...
No Matches
read_stream.h
1// Copyright (c) 2009-2025 Avanquest Software. All rights reserved.
2
3#ifndef PDFSDK_CXX_PDF_READ_STREAM_H_INCLUDED_
4#define PDFSDK_CXX_PDF_READ_STREAM_H_INCLUDED_
5
7
8#include "wrapper_base.h"
9
10namespace PDF {
11
15class ReadStream : public detail::RefCountedHandle<PDReadStream> {
16public:
23 size_t Read(void* buffer, size_t bufferSize);
24
29 int ReadChar();
30
34 void Close();
35
36 PDF_CXX_CORE_WRAPPER_DEFINE_MEMBERS_(ReadStream, PDReadStream)
37};
38
39} // namespace PDF
40
41#include "read_stream_impl.inl"
42
43#endif // PDFSDK_CXX_PDF_READ_STREAM_H_INCLUDED_
Represents a read stream for reading data.
Definition read_stream.h:15
size_t Read(void *buffer, size_t bufferSize)
Reads data from the stream into the specified buffer.
void Close()
Closes the read stream.
Objects API.