code: public void read(final DataInput in) throws IOException {
  		final int newLength = in.readInt();
  		setCapacity(newLength, false);
  		in.readFully(this.bytes, 0, newLength);
  		this.length = newLength;
  		this.hash = 0;
  	}
docs: deserialize