code: private void readVersion(InputStream is) throws IOException
     {
        BytesReadInputStream bytesReadStream = new BytesReadInputStream(is);
        String version = DatatypeConverter.getString(bytesReadStream);
        m_offset += bytesReadStream.getBytesRead();
        SynchroLogger.log("VERSION", version);
        
        String[] versionArray = version.split("\\.");
        m_majorVersion = Integer.parseInt(versionArray[0]);
     }
docs: Read the version number.
  
  @param is input stream