System::IO::StreamWriter::Write method
Contents
[
Hide
]StreamWriter::Write(char_t) method
Writes the specified character to the stream.
void System::IO::StreamWriter::Write(char_t value) override
Parameter | Type | Description |
---|---|---|
value | char_t | The character to write |
See Also
- Class StreamWriter
- Namespace System::IO
- Library Aspose.PUB for C++
StreamWriter::Write(const ArrayPtr<char_t>&) method
Writes all characetrs from the specified array to the stream.
void System::IO::StreamWriter::Write(const ArrayPtr<char_t> &buffer) override
Parameter | Type | Description |
---|---|---|
buffer | const ArrayPtr<char_t>& | The array containing the characters to write |
See Also
- Typedef ArrayPtr
- Class StreamWriter
- Namespace System::IO
- Library Aspose.PUB for C++
StreamWriter::Write(const ArrayPtr<char_t>&, int32_t, int32_t) method
Writes the specified subrange of UTF-16 characters from the specified character array to the stream.
void System::IO::StreamWriter::Write(const ArrayPtr<char_t> &buffer, int32_t index, int32_t count) override
Parameter | Type | Description |
---|---|---|
buffer | const ArrayPtr<char_t>& | The array containing the characters to write |
index | int32_t | A 0-based index of the elemnet in buffer at which the subrange to write begins |
count | int32_t | The number of characters in the subrange to write; -1 specifies that the subrange ends where buffer array ends |
See Also
- Typedef ArrayPtr
- Class StreamWriter
- Namespace System::IO
- Library Aspose.PUB for C++
StreamWriter::Write(const char_t *) method
Writes the specified c-string to the stream.
void System::IO::StreamWriter::Write(const char_t *buffer) override
Parameter | Type | Description |
---|---|---|
buffer | const char_t * | The c-string to write |
See Also
- Class StreamWriter
- Namespace System::IO
- Library Aspose.PUB for C++
StreamWriter::Write(const SharedPtr<Object>&) method
Writes the string representation of the specified object to the stream.
void System::IO::StreamWriter::Write(const SharedPtr<Object> &obj) override
Parameter | Type | Description |
---|---|---|
obj | const SharedPtr<Object>& | The object to write |
See Also
- Typedef SharedPtr
- Class Object
- Class StreamWriter
- Namespace System::IO
- Library Aspose.PUB for C++
StreamWriter::Write(const String&) method
Writes the specified string to the stream.
void System::IO::StreamWriter::Write(const String &value) override
Parameter | Type | Description |
---|---|---|
value | const String& | The string to write |
See Also
- Class String
- Class StreamWriter
- Namespace System::IO
- Library Aspose.PUB for C++
StreamWriter::Write(const System::SharedPtr<T>&) method
Writes the string representation of the specified object to the stream.
template<typename T> void System::IO::StreamWriter::Write(const System::SharedPtr<T> &obj)
Parameter | Description |
---|---|
T | The type of the object |
Parameter | Type | Description |
---|---|---|
obj | const System::SharedPtr<T>& | The object to write |
See Also
- Typedef SharedPtr
- Class StreamWriter
- Namespace System::IO
- Library Aspose.PUB for C++