Ejemplo n.º 1
0
        private int GetVersionInfo()
        {
            if (BinaryStreamReader.ReadBinaryElement() != BinaryElement.VERSION)
            {
                throw new Exception("[RS] Failed to get version info. BinaryElement.VERSION not found.");
            }

            return(BinaryStreamReader.ReadInt32());
        }