Class StderrStream

java.lang.Object
java.io.OutputStream
net.sourceforge.plantuml.teavm.c.StderrStream
All Implemented Interfaces:
Closeable, Flushable, AutoCloseable

public final class StderrStream extends OutputStream
The standard error of the C build, for the diagnostics of -pipe (line number and message of a syntax error, read by tools such as Kroki): the bytes are written as they are, in binary mode, straight to the file descriptor 2.

It does not depend on the System.err of the classlib of the TeaVM C backend, which is a text stream (see StdoutStream).

Only create it when TeaVM.isC(): elsewhere the native method fails.