public static void writeInt(byte[] data, int offset, int v)
public static void writeInt(DataOutput out, int v) throws IOException
  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));  }