code: private void ABITraceInit(BufferedInputStream bis) throws IOException{
  		byte[] bytes = null;
  		ByteArrayOutputStream baos = new ByteArrayOutputStream();
  		int b;
  		while ((b = bis.read()) >= 0)
  		{
  			baos.write(b);
  		}
  		bis.close(); baos.close();
  		bytes = baos.toByteArray();
  		initData(bytes);
  	}
docs: Helper method for constructors
  
  @param bis - BufferedInputStream
  @throws IOException if there is a problem reading from the BufferedInputStream