TextOutputStream.Constructor(handle as Ptr, type as IOStreamHandleTypes)

From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Constructor

TextOutputStream.Constructor(handle as Ptr, type as IOStreamHandleTypes)

Creates a TextOutputStream instance.

Notes

Type is one of the IOStreamHandleTypes and Handle is the appropriate handle type specified by the Type parameter.

For instance, you can use a Declare to open a file with whatever permissions that you wish, and then pass the Handle to a stream object’s constructor.