format/src/main/java/com/github/sadikovi/riff/io/OutputBuffer.java
/**
   * Writes an int to the underlying output stream as four bytes, high byte first.
   * @param v integer value to write
   */
Writes an int to the underlying output stream as four bytes, high byte first.
@param v integer value to write
Writes an int to the underlying output stream as four bytes high byte first . @param v integer value to write
public void writeInt(int v) throws IOException {
    buffer[0] = (byte) (0xff & (v >> 24));
    buffer[1] = (byte) (0xff & (v >> 16));
    buffer[2] = (byte) (0xff & (v >>  8));
    buffer[3] = (byte) (0xff & v);
    write(buffer, 0, 4);
  }
public void writeInt ( int v ) throws IOException { buffer [ 0 ] = ( byte ) ( 0xff & ( v >> 24 ) ) ; buffer [ 1 ] = ( byte ) ( 0xff & ( v >> 16 ) ) ; buffer [ 2 ] = ( byte ) ( 0xff & ( v >> 8 ) ) ; buffer [ 3 ] = ( byte ) ( 0xff & v ) ; write ( buffer , 0 , 4 ) ; }
Writes an int to the underlying output stream as four bytes, high byte first.
Writes an int to the underlying output stream as four bytes high byte first .