Ejemplo n.º 1
0
        public override void Parse(byte[] buffer, int offset)
        {
            base.Parse(buffer, offset);
            Descriptions = new Collection <SourceDescriptionBlock>();

            int index = 4;

            while (Descriptions.Count < ReportCount)
            {
                SourceDescriptionBlock descriptionBlock = new SourceDescriptionBlock();
                descriptionBlock.Process(buffer, offset + index);
                Descriptions.Add(descriptionBlock);
                index += descriptionBlock.BlockLength;
            }
        }
Ejemplo n.º 2
0
        public override void Parse(byte[] buffer, int offset)
        {
            base.Parse(buffer, offset);
            Descriptions = new Collection<SourceDescriptionBlock>();

            int index = 4;

            while (Descriptions.Count < ReportCount)
            {
                SourceDescriptionBlock descriptionBlock = new SourceDescriptionBlock();
                descriptionBlock.Process(buffer, offset + index);
                Descriptions.Add(descriptionBlock);
                index += descriptionBlock.BlockLength;
            }
        }