Example #1
0
        public void AddTags(int size, byte[] rawTags)
        {
            System.Diagnostics.Debug.Assert(Tags == null);

            Tags = new FlacTagsBlock(size, rawTags);
            items.Add(Tags);
        }
Example #2
0
        public void AddTags(int position, int size, byte[] rawTags)
        {
            var block = new FlacTagsBlock(position, size, rawTags);

            items.Add(block);
            if (Tags == null)
            {
                Tags = block;
            }
        }