Exemple #1
0
        public static string Read(BinaryWrapper reader)
        {
            string str = string.Empty;

            int length = reader.ReadInt();

            for (int i = 0; i < length; ++i)
            {
                str += reader.ReadChar();
            }

            return(str);
        }
Exemple #2
0
        public static string Read(BinaryWrapper reader)
        {
            string str = string.Empty;

            int length = reader.ReadInt();

            for (int i = 0; i < length; ++i)
                str += reader.ReadChar();

            return str;
        }