Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * Writes a byte tree to the underlying file.
  *
  * @param bt Byte tree to be written.
  */
 public void unsafeWrite(ByteTreeBasic bt) {
   bt.unsafeWriteTo(dos);
 }