Пример #1
0
        public override void Read(BoxReader reader)
        {
            using (new SizeChecker(this, reader)) {
            base.Read(reader);

            MediaHeaderBox = new MediaHeaderBox(this);
            HandlerReferenceBox = new HandlerReferenceBox(this);
            MediaInformationBox = new MediaInformationBox(this);

            MediaHeaderBox.Read(reader);
            HandlerReferenceBox.Read(reader);
            MediaInformationBox.Read(reader);
              }
        }
Пример #2
0
        public override void Read(BoxReader reader)
        {
            using (new SizeChecker(this, reader)) {
                base.Read(reader);

                MediaHeaderBox      = new MediaHeaderBox(this);
                HandlerReferenceBox = new HandlerReferenceBox(this);
                MediaInformationBox = new MediaInformationBox(this);

                MediaHeaderBox.Read(reader);
                HandlerReferenceBox.Read(reader);
                MediaInformationBox.Read(reader);
            }
        }