Esempio n. 1
0
        public void ReadFrom(InputStream _input)
        {
            uint _tag;

            while ((_tag = _input.ReadTag()) != 0)
            {
                ReadOneField(_input, _tag);
            }
        }
Esempio n. 2
0
        internal void InternalReadFrom(InputStream _input)
        {
            var _message_len = _input.ReadLength();
            var _end_pos     = _input.Position + _message_len;

            while (_input.Position < _end_pos)
            {
                uint _tag = _input.ReadTag();
                ReadOneField(_input, _tag);
            }
        }