@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { int v1 = in.readInt(); int v2 = in.readInt(); int v3 = in.readInt(); bytes1 = new byte[v2]; in.readFully(bytes1); bytes2 = new byte[v3]; in.readFully(bytes2); int v4 = 0; }
@Override public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { this.baseOffset = BYTE_ARRAY_OFFSET; this.sizeInBytes = in.readInt(); this.numFields = in.readInt(); this.bitSetWidthInBytes = calculateBitSetWidthInBytes(numFields); this.baseObject = new byte[sizeInBytes]; in.readFully((byte[]) baseObject); }
protected void readPackager(ObjectInput in) throws IOException, ClassNotFoundException { byte[] b = new byte[in.readShort()]; in.readFully(b); try { Class mypClass = Class.forName(new String(b)); ISOPackager myp = (ISOPackager) mypClass.newInstance(); setPackager(myp); } catch (Exception e) { setPackager(null); } }
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException { offset = BYTE_ARRAY_OFFSET; numBytes = in.readInt(); base = new byte[numBytes]; in.readFully((byte[]) base); }
protected void readHeader(ObjectInput in) throws IOException, ClassNotFoundException { byte[] b = new byte[in.readShort()]; in.readFully(b); setHeader(b); }