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 

MethodDescription
close()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 Details 

close() 

close(): void

Closes the output stream.


DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!