public void writeDouble(double dub) throws TException {
  byte[] data=new byte[]{0,0,0,0,0,0,0,0};
  fixedLongToBytes(Double.doubleToLongBits(dub),data,0);
  trans_.write(data);
}

public void writeDouble ( double dub ) throws TException { byte [ ] data = new byte [ ] { 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 } ; fixedLongToBytes ( Double . doubleToLongBits ( dub ) , data , 0 ) ; trans_ . write ( data ) ; }
write a double to the wire as 8 bytes .
