/// <summary>
        /// Reads the sample entry properties from stream.
        /// </summary>
        /// <param name="reader">The stream reader.</param>
        internal override void ReadSampleEntryPropertiesFromStream(BoxBinaryReader reader)
        {
            this.Namespace = reader.ReadNullTerminatedString();
            this.SchemaLocation = reader.ReadNullTerminatedString();
            this.ImageMimeType = reader.ReadNullTerminatedString();

            ReadInnerBoxes(reader, BoxType.Btrt);
        }
Example #2
0
        /// <summary>
        /// Reads the sample entry properties from stream.
        /// </summary>
        /// <param name="reader">The stream reader.</param>
        internal override void ReadSampleEntryPropertiesFromStream(BoxBinaryReader reader)
        {
            this.Namespace      = reader.ReadNullTerminatedString();
            this.SchemaLocation = reader.ReadNullTerminatedString();
            this.ImageMimeType  = reader.ReadNullTerminatedString();

            ReadInnerBoxes(reader, BoxType.Btrt);
        }
        /// <summary>
        /// Reads the full box properties from stream.
        /// </summary>
        /// <param name="reader">The binary reader with the stream.</param>
        protected override void ReadFullBoxPropertiesFromStream(BoxBinaryReader reader)
        {
            ProfileVersion = reader.ReadString(4);      // Is this actually a string?
            Apid = reader.ReadNullTerminatedString();

            // TODO: Do we need to read in the other_boxes?
            reader.GotoEndOfBox(this.Offset, this.Size);
        }
        /// <summary>
        /// Reads the full box properties from stream.
        /// </summary>
        /// <param name="reader">The binary reader with the stream.</param>
        protected override void ReadFullBoxPropertiesFromStream(BoxBinaryReader reader)
        {
            ProfileVersion = reader.ReadString(4);      // Is this actually a string?
            Apid           = reader.ReadNullTerminatedString();

            // TODO: Do we need to read in the other_boxes?
            reader.GotoEndOfBox(this.Offset, this.Size);
        }
        /// <summary>
        /// Reads the full box properties from stream.
        /// </summary>
        /// <param name="reader">The binary reader with the stream.</param>
        protected override void ReadFullBoxPropertiesFromStream(BoxBinaryReader reader)
        {
            predefined = reader.ReadUInt32();
            this.HandlerType = new string(reader.ReadChars(4));
            
            reserved[0] = reader.ReadUInt32();
            reserved[1] = reader.ReadUInt32();
            reserved[2] = reader.ReadUInt32();

            this.Name = reader.ReadNullTerminatedString();
        }
        /// <summary>
        /// Reads the full box properties from stream.
        /// </summary>
        /// <param name="reader">The binary reader with the stream.</param>
        protected override void ReadFullBoxPropertiesFromStream(BoxBinaryReader reader)
        {
            predefined       = reader.ReadUInt32();
            this.HandlerType = new string(reader.ReadChars(4));

            reserved[0] = reader.ReadUInt32();
            reserved[1] = reader.ReadUInt32();
            reserved[2] = reader.ReadUInt32();

            this.Name = reader.ReadNullTerminatedString();
        }
 /// <summary>
 /// Reads the full box properties from stream.
 /// </summary>
 /// <param name="reader">The binary reader with the stream.</param>
 protected override void ReadFullBoxPropertiesFromStream(BoxBinaryReader reader)
 {
     Xml = reader.ReadNullTerminatedString();
 }
Example #8
0
 /// <summary>
 /// Reads the full box properties from stream.
 /// </summary>
 /// <param name="reader">The binary reader with the stream.</param>
 protected override void ReadFullBoxPropertiesFromStream(BoxBinaryReader reader)
 {
     Xml = reader.ReadNullTerminatedString();
 }