예제 #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);
 }
예제 #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);
 }