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
6
#include <
pdfsdk/core/objects.h
>
7
8
#include "wrapper_base.h"
9
10
namespace
PDF {
11
15
class
ReadStream
:
public
detail::RefCountedHandle<PDReadStream> {
16
public
:
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_
PDF::ReadStream
Represents a read stream for reading data.
Definition
read_stream.h:15
PDF::ReadStream::Read
size_t Read(void *buffer, size_t bufferSize)
Reads data from the stream into the specified buffer.
PDF::ReadStream::Close
void Close()
Closes the read stream.
PDF::ReadStream::ReadChar
int ReadChar()
objects.h
Objects API.