CSharpRTMP.Core.MediaFormats.mp4.boxes.AtomMetaField.Read C# (CSharp) Method

Read() public method

public Read ( ) : void
return void
        public override void Read()
        {
            if (Size >= 8)
            {
                Document.MediaFile.SeekAhead(4);
                var type = Br.ReadUInt32();
                if (type == DATA)
                {
                    Document.MediaFile.SeekBehind(4);
                    _stringData = Br.ReadBytes((int)(Size - 8 - 4)).BytesToString();
                }
                else
                {
                    Document.MediaFile.SeekBehind(8);
                    base.Read();
                }
            }
            base.Read();
        }