format/src/main/java/com/github/sadikovi/riff/io/OutStream.java
/**
   * Write integer value into output stream. Value is written in big endian.
   * @param value integer value
   * @throws IOException
   */
Write integer value into output stream. Value is written in big endian.
@param value integer value
@throws IOException
Write integer value into output stream . Value is written in big endian . @param value integer value @throws IOException
public void writeInt(int value) throws IOException {
    buf[0] = (byte) (0xff & value >> 24);
    buf[1] = (byte) (0xff & value >> 16);
    buf[2] = (byte) (0xff & value >> 8);
    buf[3] = (byte) (0xff & value);
    write(buf, 0, 4);
  }
public void writeInt ( int value ) throws IOException { buf [ 0 ] = ( byte ) ( 0xff & value >> 24 ) ; buf [ 1 ] = ( byte ) ( 0xff & value >> 16 ) ; buf [ 2 ] = ( byte ) ( 0xff & value >> 8 ) ; buf [ 3 ] = ( byte ) ( 0xff & value ) ; write ( buf , 0 , 4 ) ; }
Write integer value into output stream.
Write integer value into output stream .