code: public ByteArrayQueue readFrom(InputStream in) throws IOException {
  		byte[] buffer = new byte[BUFFER_SIZE];
  		int bytesRead;
  		while ((bytesRead = in.read(buffer)) > 0) {
  			add(buffer, 0, bytesRead);
  		}
  		return this;
  	}
docs: Reads from an {@link InputStream}