docs: public static RemoteMerkleTreeView createRemoteMerkleTreeView(DataInput in) throws IOException {
          int numberOfLeaves = in.readInt();
          int depth = QuickMath.log2(numberOfLeaves << 1);
          int[] leaves = new int[numberOfLeaves];
          for (int i = 0; i < numberOfLeaves; i++) {
              leaves[i] = in.readInt();
          }
  
          return new RemoteMerkleTreeView(leaves, depth);
      }