data[offset]   = (byte) (0xff & v); data[offset+1] = (byte) (0xff & (v >>>  8)); data[offset+2] = (byte) (0xff & (v >>> 16)); data[offset+3] = (byte) (0xff & (v >>> 24));
out.writeByte(0xff & v); out.writeByte(0xff & (v >>>  8)); out.writeByte(0xff & (v >>> 16)); out.writeByte(0xff & (v >>> 24));
  public static void writeInt(byte[] data, int offset, int v)  {    data[offset]   = (byte) (0xff & v);    data[offset+1] = (byte) (0xff & (v >>>  8));    data[offset+2] = (byte) (0xff & (v >>> 16));    data[offset+3] = (byte) (0xff & (v >>> 24));  }