Write()

BasicSTDOStreamWrapper::Write(const ArrayPtr<uint8_t>&, int32_t, int32_t) method

If wrapping mode is binary, writes to the stream the specified subrange of bytes from the specified byte array, otherwise convert the specified subrange of bytes from the specified byte array to char_type type ant then writes result to the stream.

virtual void System::IO::BasicSTDOStreamWrapper<T, typename>::Write(const ArrayPtr<uint8_t> &buffer, int32_t offset, int32_t count) override

Arguments

ParameterTypeDescription
bufferconst ArrayPtr<uint8_t>&The array containing the bytes to write
offsetint32_tA 0-based index of the elemnet in buffer at which the subrange to write begins
countint32_tThe number of elements in the subrange to write

BasicSTDOStreamWrapper::Write(const System::Details::ArrayView<uint8_t>&, int32_t, int32_t) method

Writes the specified subrange of bytes from the specified byte array to the stream.

virtual void System::IO::BasicSTDOStreamWrapper<T, typename>::Write(const System::Details::ArrayView<uint8_t> &buffer, int32_t offset, int32_t count) override

Arguments

ParameterTypeDescription
bufferconst System::Details::ArrayView<uint8_t>&The array view containing the bytes to write
offsetint32_tA 0-based index of the element in buffer at which the subrange to write begins
countint32_tThe number of elements in the subrange to write

See Also