docs: public static CatalogAndDeployment getCatalogFromZK(ZooKeeper zk)
              throws KeeperException, InterruptedException {
          ByteBuffer catalogDeploymentBytes =
                  ByteBuffer.wrap(zk.getData(VoltZK.catalogbytes, false, null));
          int version = catalogDeploymentBytes.getInt();
          long genId = catalogDeploymentBytes.getLong();
          int catalogLength = catalogDeploymentBytes.getInt();
          byte[] catalogBytes = new byte[catalogLength];
          catalogDeploymentBytes.get(catalogBytes);
          byte[] catalogHash = new byte[20]; // sha-1 hash size
          catalogDeploymentBytes.get(catalogHash);
          int deploymentLength = catalogDeploymentBytes.getInt();
          byte[] deploymentBytes = new byte[deploymentLength];
          catalogDeploymentBytes.get(deploymentBytes);
          catalogDeploymentBytes = null;
  
          return new CatalogAndDeployment(version, genId, catalogBytes, catalogHash, deploymentBytes);
      }