public override bool Parse(AviParser parser)
        {
            uint maxStreamNameLength = (uint)AviDetector.Configurable[AviDetector.ConfigurationKey.AviStreamNameMaxNameLength];

            if (!base.Parse(parser))
            {
                return(false);
            }

            if (parser.BytesRemaining > maxStreamNameLength)
            {
                return(false);                                                          // Sanity check
            }
            parser.GetString(Attribute.Name, parser.BytesRemaining);

            return(Valid);
        }
        public override bool Parse(AviParser parser)
        {
            if (!base.Parse(parser))
            {
                return(false);
            }

            uint maxDateStringLength = (uint)AviDetector.Configurable[AviDetector.ConfigurationKey.DigitizingDateMaxDateStringLength];

            if (parser.BytesRemaining > maxDateStringLength)
            {
                return(false);
            }

            parser.GetString(Attribute.DateTime, parser.BytesRemaining);

            return(Valid);
        }