ToUniqueId() static public method

static public ToUniqueId ( byte buffer, int offset, int count ) : UniqueId
buffer byte
offset int
count int
return UniqueId
示例#1
0
 public UniqueId ToUniqueId()
 {
     if (_type == ValueHandleType.UniqueId)
     {
         return(GetUniqueId());
     }
     if (_type == ValueHandleType.UTF8)
     {
         return(XmlConverter.ToUniqueId(_bufferReader.Buffer, _offset, _length));
     }
     return(XmlConverter.ToUniqueId(GetString()));
 }
示例#2
0
 public UniqueId ToUniqueId()
 {
     if (this.type == ValueHandleType.UniqueId)
     {
         return(this.GetUniqueId());
     }
     if (this.type == ValueHandleType.UTF8)
     {
         return(XmlConverter.ToUniqueId(this.bufferReader.Buffer, this.offset, this.length));
     }
     return(XmlConverter.ToUniqueId(this.GetString()));
 }