/** * Writes a byte tree to the underlying file. * * @param bt Byte tree to be written. * @throws EIOException If writing fails. */ public void write(ByteTreeBasic bt) throws EIOException { bt.writeTo(dos); }
/** * Writes a byte tree to the underlying file. * * @param bt Byte tree to be written. */ public void unsafeWrite(ByteTreeBasic bt) { bt.unsafeWriteTo(dos); }