public void poke4BE ( final int offset , final long n ) { if ( offset < super . count ) { buf [ offset + 0 ] = ( byte ) ( ( n & 0xff000000 ) >> 24 ) ; buf [ offset + 1 ] = ( byte ) ( ( n & 0xff0000 ) >> 16 ) ; buf [ offset + 2 ] = ( byte ) ( ( n & 0xff00 ) >> 8 ) ; buf [ offset + 3 ] = ( byte ) ( n & 0xff ) ; } }
Write the low four bytes of a value to the stream in bif endian order at the specified position . If the position specified is beyond the end of the stream this method will have no effect .