/*
 * Java Network Programming, Second Edition
 * Merlin Hughes, Michael Shoffner, Derek Hamner
 * Manning Publications Company; ISBN 188477749X
 *
 * http://nitric.com/jnp/
 *
 * Copyright (c) 1997-1999 Merlin Hughes, Michael Shoffner, Derek Hamner;
 * all rights reserved; see license.txt for details.
 */

import java.io.*;

public class DataFileOutputStream extends FileOutputStream {
  public DataFileOutputStream (String filename) throws IOException {
    super (filename);
  }

  public void writeInt (int value) throws IOException {
    write (value >> 24);
    write (value >> 16);
    write (value >> 8);
    write (value);
  }
}
