/** * 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); }