/// <summary> /// Initalises a new extension from the received data /// </summary> /// <param name="data">byte array of data to parse</param> /// <returns>new AttributeMissing Extension</returns> internal override ExtensionBase Create(SlpReader reader) { var result = new AttributeMissingExtension(); Offset = reader.ReadInt24(); TemplateName = reader.ReadString(); Attributes.AddRange(reader.TagListDecode(false)); return(result); }
/// <summary> /// Initalises a new extension from the received data /// </summary> /// <param name="data">byte array of data to parse</param> /// <returns>new AttributeMissing Extension</returns> internal override ExtensionBase Create(SlpReader reader) { var result = new AttributeMissingExtension(); Offset = reader.ReadInt24(); TemplateName = reader.ReadString(); Attributes.AddRange(reader.TagListDecode(false)); return result; }