Write( ) method (OutputStream)

This method writes data from the indicated inputs to the output stream. It returns the total number of characters written for CHARACTER and LONGCHAR data inputs, or the total number of bytes written for a MEMPTR input.

Return type: INT64

Access: PUBLIC

Applies to: Progress.IO.OutputStream class

Syntax

ABSTRACT Write( INPUT source-data AS CHARACTER )

ABSTRACT Write( INPUT source-data AS LONGCHAR )

ABSTRACT Write( INPUT source-data AS MEMPTR,
                INPUT offset AS INT64,
                INPUT length AS INT64 )

Write( INPUT source-data AS MEMPTR )
length
Indicates how many bytes of the source-data MEMPTR the method should write to the current output stream.
offset
Indicates which byte of the source-data MEMPTR the method should start with when writing to the current output stream.
source-data
A CHARACTER, LONGCHAR, or MEMPTR variable containing the data the method will write to the output stream.

Notes