System.Xml.XmlBufferReader.GetByte C# (CSharp) Méthode

GetByte() public méthode

public GetByte ( ) : byte
Résultat byte
        public byte GetByte()
        {
            int offset = _offset;
            if (offset < _offsetMax)
                return _buffer[offset];
            else
                return GetByteHard();
        }

Same methods

XmlBufferReader::GetByte ( int offset ) : byte

Usage Example

Exemple #1
0
 private string GetCharsText()
 {
     DiagnosticUtility.DebugAssert(_type == ValueHandleType.UTF8, "");
     if (_length == 1 && _bufferReader.GetByte(_offset) == '1')
     {
         return("1");
     }
     return(_bufferReader.GetString(_offset, _length));
 }
All Usage Examples Of System.Xml.XmlBufferReader::GetByte