code: public static VersionInfo readHeaderAndDataVersion(ByteBuffer bytes,
                                                               int dataFormat,
                                                               Authenticate authenticate)
                                                                  throws IOException {
          return getVersionInfoFromCompactInt(readHeader(bytes, dataFormat, authenticate));
      }
docs: Same as readHeader(), but returns a VersionInfo rather than a compact int.