Script: Class dw.io.OutputStream

Class OutputStream

The class represent a stream of bytes that can be written from the application. The OutputStream itself doesn't provide any methods to write the data. Instead the OutputStream can be chained with other classes like a XMLStreamWriter to write data.

Note: when this class is used with sensitive data, be careful in persisting sensitive information to disk.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

close() : void

Closes the output stream.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

close

close() : void

Closes the output stream.