System::IO::UnmanagedMemoryStream::Read method
Contents
[
Hide
]UnmanagedMemoryStream::Read(const ArrayPtr<uint8_t>&, int32_t, int32_t) method
Reads the specified number of bytes from the stream and writes them to the specified byte array.
virtual int32_t System::IO::UnmanagedMemoryStream::Read(const ArrayPtr<uint8_t> &buffer, int32_t offset, int32_t count) override
Parameter | Type | Description |
---|---|---|
buffer | const ArrayPtr<uint8_t>& | The byte array to write the read bytes to |
offset | int32_t | A 0-based position in buffer to start writing at |
count | int32_t | The number of bytes to read |
ReturnValue
The number of bytes read
See Also
- Typedef ArrayPtr
- Class UnmanagedMemoryStream
- Namespace System::IO
- Library Aspose.PDF for C++
UnmanagedMemoryStream::Read(const System::Details::ArrayView<uint8_t>&, int32_t, int32_t) method
Reads the specified number of bytes from the stream and writes them to the specified byte array.
virtual int32_t System::IO::UnmanagedMemoryStream::Read(const System::Details::ArrayView<uint8_t> &buffer, int32_t offset, int32_t count) override
Parameter | Type | Description |
---|---|---|
buffer | const System::Details::ArrayView<uint8_t>& | The byte array view to write the read bytes to |
offset | int32_t | A 0-based position in buffer to start writing at |
count | int32_t | The number of bytes to read |
ReturnValue
The number of bytes read
See Also
- Class UnmanagedMemoryStream
- Namespace System::IO
- Library Aspose.PDF for C++