src/org/nutz/lang/Streams.java
public static void write(OutputStream ops, byte[] bytes) throws IOException {
        if (null == ops || null == bytes || bytes.length == 0)
            return;
        ops.write(bytes);
    }
public static void write(OutputStream ops, byte[] bytes) throws IOException {
        if (null == ops || null == bytes || bytes.length == 0)
            return;
        ops.write(bytes);
    }
将一个字节数组写入一个输出流。
<p>
<b style=color:red>注意</b>，它并不会关闭输出流

@param ops
输出流
@param bytes
字节数组
@throws IOException