opendap/src/main/java/opendap/dap/BaseType.java
public final void printDecl(OutputStream os, String space,
                                boolean print_semi, boolean constrained) {
        PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(os,Util.UTF8)));
        printDecl(pw, space, print_semi, constrained);
        pw.flush();
    }
public final void printDecl(OutputStream os, String space,
                                boolean print_semi, boolean constrained) {
        PrintWriter pw = new PrintWriter(new BufferedWriter(new OutputStreamWriter(os,Util.UTF8)));
        printDecl(pw, space, print_semi, constrained);
        pw.flush();
    }
Print the variable's declaration using <code>OutputStream</code>.

@param os         The <code>OutputStream</code> on which to print the
declaration.
@param space      Each line of the declaration will begin with the
characters in this string.  Usually used for leading spaces.
@param print_semi a boolean value indicating whether to print a
semicolon at the end of the declaration.
@see DDS#print(PrintWriter)