code: public ReadStream readStream() {
  		detachWriter();
  		if (reader == null) {
  			reader = new BytesReadStream(bytes, 0, length);
  		}
  		return reader;
  	}
docs: Attaches a reader to the object. If there is already any attached reader,
  the existing reader is returned. If a writer is attached to the object
  when this method is called, the writer is closed and immediately detached
  before the reader is created.
  
  @return the reader attached to this object