public Guid ReadGuid() { byte[] buffer = new byte[Guid.Empty.ToByteArray().Length]; this.Read(buffer, 0, buffer.Length); return new Guid(buffer); }
/// <summary> /// Parse from a stream. /// </summary> /// <param name="stream">A stream contains XID.</param> public void Parse(FastTransferStream stream) { this.namespaceGuid = stream.ReadGuid(); this.localId = stream.ReadBlock((int)this.length - 16); }