code: private static BlockMetadataHeader readHeader(short version, DataInputStream in) 
                                     throws IOException {
      DataChecksum checksum = DataChecksum.newDataChecksum(in);
      return new BlockMetadataHeader(version, checksum);
    }
docs: Version is already read.