protected static long[] readReconciliationLongs(DataInput in, int len) throws Exception { long[] retval=new long[len]; for(int i=0; i < len; i++) retval[i]=Bits.readLong(in); return retval; }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); if(type == DATA) seqno=Bits.readLong(in); }
public void readFrom(DataInput in) throws Exception { avg=in.readDouble(); count=Bits.readLong(in); } }
/** * Reads a double from a buffer. * @param buf the buffer * @return the double read from the buffer */ public static double readDouble(ByteBuffer buf) { return Double.longBitsToDouble(readLong(buf)); }
/** * Reads a double from an input stream * @param in the input stream * @return the double read from the input stream */ public static double readDouble(DataInput in) throws IOException { return Double.longBitsToDouble(readLong(in)); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); req_id=Bits.readLong(in); corrId=in.readShort(); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); seqno=Bits.readLong(in); num_seqnos=in.readUnsignedShort(); }
public void readFrom(DataInput in) throws Exception { type=in.readByte(); seqno=Bits.readLong(in); flush_ack=in.readBoolean(); }
public void readFrom(DataInput in) throws Exception { super.readFrom(in); result=Bits.readLong(in); }
@Override public void readFrom(DataInput in) throws Exception { address = Util.readAddress(in); id = Bits.readLong(in); }
public void readFrom(DataInput in) throws Exception { creator=Util.readAddress(in); id=Bits.readLong(in); }
public void readFrom(DataInput in) throws Exception { id=Bits.readLong(in); frag_id=Bits.readInt(in); num_frags=Bits.readInt(in); }
public void readFrom(DataInput in) throws Exception { owner=new Owner(); owner.readFrom(in); version=Bits.readLong(in); }