question: public static void writeSwappedInteger ( OutputStream output , int value ) throws IOException { output . write ( ( byte ) ( ( value > > 0 ) & 0xff ) ) ; output . write ( ( byte ) ( ( value > > 8 ) & 0xff ) ) ; output . write ( ( byte ) ( ( value > > 16 ) & 0xff ) ) ; output . write ( ( byte ) ( ( value > > 24 ) & 0xff ) ) ; }
target:  Writes a "int" value to an OutputStream. The value is converted to the opposed endian system while writing.