Constructs an OutputStream over an application-supplied buffer.
- Parameters
-
| bytes | Application-supplied memory that the OutputStream uses as its initial marshaling buffer. The stream will reallocate if the size of the marshaled data exceeds the application's buffer. |
| encoding | The encoding version to use. |
| format | The class format to use. |
| stringConverter | The narrow string converter to use. nullptr means do not perform any conversion. |
| wstringConverter | The wide string converter to use. nullptr is equivalent to the process wstring converter. |