コード例 #1
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)
        {
            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();
        }
コード例 #2
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)
        {
            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();
        }