Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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;
        }